Skip to main content
Glama

query_local_docs

Search indexed local documentation with a natural language query. Retrieve top relevant results, optionally scoped to a project path, to get instant answers from your docs.

Instructions

Query indexed local documentation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
top_kNo
project_pathNo
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states 'Query indexed local documentation' without indicating whether the operation is read-only, what setup is required, or what the response contains. This is a significant gap for a query tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence, which is concise, but it is under-specification rather than effective conciseness. It fails to include necessary usage and parameter details, so the brevity is not a benefit.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This tool has three parameters, no annotations, and no output schema. The description is far from complete: it does not clarify what 'indexed' means, how project_path scopes the query, or what top_k controls. The tool cannot be used reliably based on this description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description provides no parameter explanations. The agent must infer meanings for query, top_k, and project_path from names alone, which is insufficient for correct invocation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function with a specific verb ('Query') and resource ('indexed local documentation'), distinguishing it implicitly from siblings like web_search and semantic_code_search. However, it does not explicitly contrast with alternatives, so it stops short of a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description offers no guidance on when to use this tool versus alternatives. There is no mention of prerequisites, exclusions, or a preferred context, leaving the agent to guess.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/infimium-ai/infimium-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server