get_tool_context after search_tools to fetch implementation-ready context for a specific tool. This is the authoritative step in the UseAgents MCP workflow for installation guidance, examples, and usage shape.
Requires an API key. Configure the
x-api-key header when connecting the
MCP server.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | Exact tool slug selected from a search_tools result |
Returns
The tool returns data in Toon (Token-Oriented Object Notation), a compact, token-efficient format for LLM consumption. Learn more at toonformat.dev. When context is available, the response is the encoded tool context payload. See the example below for the exact Toon shape currently returned forredop.
If context is not available for the slug, the tool returns a structured error payload instead of guessed guidance.
Example call
Unsupported slugs
If the slug has no available context,get_tool_context returns a structured fallback response. Current tool context coverage is limited.
Example unsupported response:
Use this tool when
- The agent has already shortlisted a tool and needs authoritative setup guidance
- The agent needs install commands, examples, or usage shape before writing code
- The agent should avoid guessing documentation details from training data
Typical workflow
- Call
search_toolswith a natural-language task. - Select a candidate slug from the ranked results.
- Call
get_tool_contextwith that exact slug. - Use the returned install steps, examples, and I/O details when generating implementation guidance.
- If no context is returned, say that the tool context is unavailable.