Skip to content

Commit b1134b7

Browse files
authored
Merge pull request #31 from OpsLevel/kr/api-documents
Try to beef up looking for API documents
2 parents 0e007ae + 07a6e48 commit b1134b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ This MCP ([Model Context Protocol](https://modelcontextprotocol.io/introduction)
2424

2525
# Features
2626

27-
Currently the MCP server only uses read-only access to your OpsLevel account and can read data from the following resources:
27+
Currently, the MCP server only uses read-only access to your OpsLevel account and can read data from the following resources:
2828

2929
- Actions
3030
- Components
31-
- Documentation (Tech Docs)
31+
- Documentation (API & Tech Docs)
3232
- Domains
3333
- Filters
3434
- Infrastructure

src/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ var rootCmd = &cobra.Command{
203203
// Register document by id
204204
s.AddTool(
205205
mcp.NewTool("document",
206-
mcp.WithDescription("Get document contents for the opslevel account, specified by id. Documents could be things like runbooks, integration documentation, api documentation, readme's, or other forms of documentation."),
206+
mcp.WithDescription("Get the contents of a technical or api document in the opslevel account, specified by document 'id' or the 'preferredApiDocument' (on a component). Documents could be things like runbooks, integration documentation, api documentation, readme's, or other forms of documentation."),
207207
mcp.WithString("id", mcp.Required(), mcp.Description("The id of the document to fetch.")),
208208
),
209209
func(ctx context.Context, req mcp.CallToolRequest) (*mcp.CallToolResult, error) {

0 commit comments

Comments
 (0)