Skip to content

Commit 4ec143c

Browse files
authored
Update tool description (#22)
1 parent ba5a49e commit 4ec143c

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

src/strands_mcp_server/server.py

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,27 @@
1212
def search_docs(query: str, k: int = 5) -> List[Dict[str, Any]]:
1313
"""Search curated documentation and return ranked results with snippets.
1414
15+
This tool provides access to the complete Strands Agents documentation including:
16+
17+
**User Guide Topics:**
18+
- Agent concepts (agent loop, conversation management, hooks, prompts, state)
19+
- Model providers (Amazon Bedrock, Anthropic, Cohere, LiteLLM, LlamaAPI, MistralAI, Ollama, OpenAI, SageMaker, Writer)
20+
- Multi-agent patterns (Agent2Agent, Agents as Tools, Graph, Swarm, Workflow)
21+
- Tools (Python tools, MCP tools, community tools, executors)
22+
- Deployment guides (EC2, EKS, Fargate, Lambda, Bedrock AgentCore)
23+
- Observability & evaluation (logs, metrics, traces, evaluation)
24+
- Safety & security (guardrails, PII redaction, responsible AI)
25+
26+
**API Reference:**
27+
- Complete API documentation for Agent, Models, Tools, Handlers, etc.
28+
29+
**Examples:**
30+
- Code samples and implementation examples
31+
32+
Use this to find relevant Strands Agents documentation for any development question.
33+
1534
Args:
16-
query: Search query string
35+
query: Search query string (e.g., "bedrock model", "tell me about a2a", "how to use MCP tools")
1736
k: Maximum number of results to return (default: 5)
1837
1938
Returns:
@@ -57,6 +76,19 @@ def search_docs(query: str, k: int = 5) -> List[Dict[str, Any]]:
5776
def fetch_doc(uri: str) -> Dict[str, Any]:
5877
"""Fetch full document content by URL.
5978
79+
Retrieves complete Strands Agents documentation content from URLs found via search_docs
80+
or provided directly. Use this to get full documentation pages including:
81+
82+
- Complete user guides with code examples
83+
- Detailed API reference documentation
84+
- Step-by-step tutorials and implementation guides
85+
- Full deployment and configuration instructions
86+
- Comprehensive multi-agent pattern examples
87+
- Complete model provider setup guides
88+
89+
This provides the full content when search snippets aren't sufficient for
90+
understanding or implementing Strands Agents features.
91+
6092
Args:
6193
uri: Document URI (supports http/https URLs)
6294

0 commit comments

Comments
 (0)