Skip to main content
Glama

atlas_where

Read-onlyIdempotent

Locate the documentation section covering a topic and return its pointer without full text. Use it to find which file or section defines something before reading the details.

Instructions

Locate the best-matching documentation section for a topic and return its pointer (~60 tokens) without full text.

Use this tool FIRST for 'where is X documented?', 'which file covers Y?', or 'which section defines Z?'.
Follow up with `atlas_read(anchor)` only if you need the section body, or fall back to `atlas_search`
if you need multiple ranked snippets across documents.

Behavior & Output:
- Read-only, deterministic BM25 lookup against the local SQLite FTS5 index (auto-refreshed before query).
- Returns a JSON string with `{found: true, anchor, path, line, heading, breadcrumb, alternatives, read_with}` when matched,
  or `{found: false, hint}` when no section matches.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "topic": "<topic>"
    },
    "name": "atlas_where"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYesNatural-language question or topic keywords to locate in the project documentation (e.g. 'damage model', 'Where is dialogue branching described?'). Supports English and German terms with automatic stop-word removal and umlaut folding.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / topic / description
      Added value: +"Natural-language question or topic keywords to locate in the project documentation (e.g. 'damage model', 'Where is dialogue branching described?'). Supports English and German terms with automatic stop-word removal and umlaut folding."
    • addedInput schema / properties / topic / minLength
      Added value: +1
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, yet the description adds real substance: deterministic BM25 over a local SQLite FTS5 index that is auto-refreshed before the query, plus approximate output cost (~60 tokens). It also discloses the failure mode ({found: false, hint}), which annotations cannot express. Return-shape enumeration partially duplicates the existing output schema, which keeps it from a 5.

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

Conciseness4/5

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

Front-loaded with purpose, then usage routing, then behavior — a clean progression with no filler. The only redundancy is the inline output field list, which largely echoes the output schema.

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

Completeness5/5

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

For a single-parameter lookup tool with full schema coverage, annotations and an output schema, the description supplies everything an agent needs: purpose, ordering relative to siblings, cost, determinism, index freshness, and the not-found path. Nothing material is missing.

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 coverage is 100% and the single `topic` parameter already documents natural-language input, multilingual support, stop-word removal and umlaut folding. The description adds no parameter-level meaning beyond restating "for a topic," so the baseline of 3 applies.

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?

States a concrete verb+resource ("Locate the best-matching documentation section") plus the distinctive behavior of returning a pointer rather than full text. It also differentiates itself from atlas_read and atlas_search by scope, so an agent can pick it without opening any schema.

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?

Gives explicit routing rules: "Use this tool FIRST" for locating questions, then "Follow up with atlas_read(anchor)" for bodies, or "fall back to atlas_search" for multiple ranked snippets. Both the when and the alternatives are named, not implied.

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