Skip to main content
Glama

atlas_links

Read-onlyIdempotent

Inspect a documentation section's links to source files, tags, and sibling sections; use it to find which code implements a spec section or what belongs to the same document.

Instructions

Inspect a documentation section's relationships: linked source files (implements), tags, and sibling sections.

Use this tool to answer 'which code files implement this spec section?' or 'what other sections
belong to the same document as this anchor?'.

Behavior & Output:
- Read-only lookup against the local section index and frontmatter metadata (`implements`, `tags`).
- Returns a JSON string `{anchor, heading, path, implements, tags, siblings: [{anchor, heading}]}`
  or `{error, suggestions, hint}` if the anchor is unknown.

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": {
      "anchor": "<anchor>"
    },
    "name": "atlas_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
anchorYesSection anchor identifier in `<doc_id>#<section-slug>` or `<doc_id>` format (e.g. 'combat#damage-model'), as returned by `atlas_where`, `atlas_search`, or `atlas_outline`.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / anchor / description
      Added value: +"Section anchor identifier in `<doc_id>#<section-slug>` or `<doc_id>` format (e.g. 'combat#damage-model'), as returned by `atlas_where`, `atlas_search`, or `atlas_outline`."
    • addedInput schema / properties / anchor / minLength
      Added value: +1
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds value beyond that: it discloses the data source (local section index plus frontmatter metadata fields `implements` and `tags`) and the failure mode for an unknown anchor (`{error, suggestions, hint}`), which an agent needs in order to recover gracefully.

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?

Front-loaded one-line summary, a usage sentence, then a short labeled 'Behavior & Output' block. Every sentence carries distinct information — scope, data source, return shape, and error shape — with no repetition of the name or title.

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?

A one-parameter lookup tool with full annotation coverage and an output schema, yet the description still spells out the return structure and the error variant. Nothing an agent needs in order to call it correctly and interpret failures 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?

Only one parameter and schema description coverage is 100%, so the schema already documents the anchor format and the tools that produce it. The description adds no new syntax or constraint information beyond the schema, 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 specific verb and resource: inspecting a section's relationships, then names the exact artifacts returned (linked source files via `implements`, tags, sibling sections). This is clearly distinguishable from content-reading siblings like atlas_read or atlas_outline, which retrieve text rather than relations.

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

Usage Guidelines4/5

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

Gives two concrete example questions the tool answers ('which code files implement this spec section?', 'what other sections belong to the same document as this anchor?'), which is strong when-to-use guidance. It stops short of stating when NOT to use it or naming an explicit alternative (e.g. use atlas_code_find for reverse lookups from code), so it falls just under the top band.

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