Skip to main content
Glama

locate_concept

Find key functions, classes, and files to understand a concept in codebases, reducing search time by surfacing important locations first.

Instructions

Find the best entry points for understanding a concept — returns a ranked shortlist of key functions, classes, and files to read, plus contrastive concepts that clarify boundaries. Saves reading dozens of grep matches by surfacing the most important locations first. Use when asked 'how does X work', 'where should I look for X', or 'where are X defined'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
termYesConcept to locate (e.g. 'transform')
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It describes the tool's behavior well by stating it returns a 'ranked shortlist' and 'saves reading dozens of grep matches', which adds useful context about efficiency and output format. However, it lacks details on potential limitations, error handling, or performance characteristics, leaving some behavioral aspects unclear for the agent.

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 front-loaded with the core purpose in the first sentence, followed by efficiency benefits and usage guidelines. Every sentence earns its place by adding value—explaining what the tool does, why it's useful, and when to use it—without any redundant or vague language. The structure is efficient and well-organized for quick comprehension.

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

Completeness4/5

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

Given the tool's complexity (concept location with ranking and contrastive elements), no annotations, and no output schema, the description is mostly complete. It covers purpose, benefits, and usage well, but lacks details on output format (e.g., structure of the shortlist) and potential edge cases. This gap prevents a perfect score, but it's sufficient for basic agent understanding.

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?

The input schema has 100% description coverage, with the parameter 'term' documented as 'Concept to locate (e.g. 'transform')'. The description does not add any further semantic details about the parameter beyond what the schema provides, such as formatting constraints or examples. Since the schema coverage is high, the baseline score of 3 is appropriate, as the description does not compensate but also does not detract.

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 ('find', 'returns') and resources ('entry points', 'key functions, classes, and files', 'contrastive concepts'). It explicitly distinguishes from sibling tools by focusing on concept location rather than description, mapping, listing, or tracing, making it easy to differentiate from tools like describe_symbol, concept_map, list_concepts, or trace_concept.

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 guidance on when to use this tool, listing specific query patterns ('how does X work', 'where should I look for X', 'where are X defined'). It also implies when not to use it by contrasting with sibling tools—for example, use locate_concept for finding entry points, not describe_symbol for detailed descriptions or concept_map for relationships. This clear context helps the agent choose correctly among alternatives.

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/EtienneChollet/ontomics'

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