Three tools with complete schemas and descriptions. Naming is clear and verb-based (search, get_contents, find_similar). Descriptions are detailed (150-200 chars) with examples. However, critical issues: (1) _apiKey exposed as a parameter violates secret-injection pattern, credentials must never appear in tool params as they leak into logs. (2) Output schemas are undocumented, LLMs cannot plan downstream calls without knowing response structure. (3) No error handling guidance, failures return raw error objects without recovery hints. (4) Parameter descriptions lack constraints (e.g., num_results clamped to 1-25 but not stated in description). (5) get_contents accepts 'ids' with type ['string', 'array'] which is non-standard JSON Schema, should be oneOf or union.
Find pages similar to a given URL using neural/semantic matching. Returns title, URL, relevance score, and published date. Example: find_similar({ url: "https://example.com/great-article", num_results: 10 })
Retrieve clean, parsed page contents (text) for one or more Exa result IDs or URLs. Use after search to read the full content of pages. Example: get_contents({ ids: ["https://example.com/article"] })
Neural/semantic web search — find pages by meaning, not just keywords. Returns title, URL, published date, author, and relevance score. Optionally retrieve clean page text inline. Example: search({ query: "startups building AI agents for customer support", num_results: 10, type: "neural" })
_apiKey parameter exposes credentials in tool definition. Credentials must never appear as tool parameters, they leak into agent logs, traces, and prompt history. Use server-side secret injection via environment variables.
Output schemas are not documented. LLMs cannot plan multi-step workflows without knowing what fields each tool returns. Document the response structure for each tool (e.g., search returns {results: [{title, url, publishedDate, author, score, text?}], autopromptString?}).
Error responses lack recovery guidance. When exaPost returns {ok: false, error}, the LLM receives raw error objects with no hint about what to do next (retry? ask user? fatal?). Categorize errors and provide actionable next steps.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 63 | 2026-07-28+ | v2 |
Parameter constraints not stated in descriptions. num_results is clamped to 1-25 in code but description only says 'max 25'. LLMs cannot read code, state constraints in descriptions: 'Number of results to return (1-25, default 10)'.
get_contents 'ids' parameter uses non-standard JSON Schema type: ['string', 'array']. Should be oneOf or a single type with clear description. Current schema is ambiguous, does it accept a string OR an array, or both simultaneously?