Skip to main content
Glama

query_by_intent

Map business questions to domain taxonomy to identify which domain owns specific functionality, returning ownership and relevance scores without source code.

Instructions

Map a business question to domain taxonomy → returns domain ownership and relevance scores (no source code). Use when you need to know WHICH DOMAIN owns specific functionality.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesBusiness-level question about the codebase
limitNoMax symbols to return (default 15)
Behavior3/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 describes the mapping process and output format (domain ownership and relevance scores), but doesn't mention performance characteristics, rate limits, authentication requirements, or what happens with invalid queries. The 'no source code' statement is useful behavioral context, but more operational details would be helpful.

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

Conciseness5/5

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

The description is perfectly concise with two sentences that each earn their place. The first sentence explains the core functionality and output, while the second provides clear usage guidance. There's zero wasted language or redundancy.

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

Completeness3/5

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

Given the complexity (business question mapping to domain taxonomy), no annotations, and no output schema, the description does a reasonable job but has gaps. It explains what the tool does and when to use it, but doesn't describe the format of the returned 'domain ownership and relevance scores' or provide examples of appropriate business questions. For a tool with no output schema, more detail about the return structure would be beneficial.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already fully documents both parameters. The description doesn't add any additional parameter semantics beyond what's in the schema - it mentions 'business question' which aligns with the query parameter description, but provides no extra details about format, examples, or domain-specific constraints.

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

Purpose5/5

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

The description clearly states the tool's purpose with specific verbs ('Map a business question to domain taxonomy') and resources ('returns domain ownership and relevance scores'), and explicitly distinguishes it from siblings by stating 'no source code' - which differentiates it from many code analysis tools in the sibling list like get_call_graph, get_dead_code, etc.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance with 'Use when you need to know WHICH DOMAIN owns specific functionality' - this gives clear context for when to invoke this tool versus alternatives. The 'no source code' statement also implicitly suggests when NOT to use it (when looking for actual code).

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/nikolai-vysotskyi/trace-mcp'

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