Skip to main content
Glama

route_context

Read-onlyIdempotent

Look up a declared file extension in the pinned Core artifact routes. Local routing also considers the checkout, manifests, overrides and shebangs. Requires Mind access. No project is inspected and no checks run.

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": {
      "extension": "<extension>"
    },
    "name": "route_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
extensionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already establish that this is read-only, idempotent, non-destructive, and closed-world. The description adds useful context beyond those annotations, including the Mind access requirement and the fact that local routing considers checkout state, manifests, overrides, and shebangs, while also clarifying that no project inspection or checks occur.

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?

The description is compact and front-loaded, moving from the core lookup operation to local routing context, access requirements, and scope exclusions. Some phrases such as 'pinned Core artifact routes' and the list of local inputs are dense jargon, but there is no redundant wording.

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 single-parameter tool and the annotations covering safety characteristics, the description is reasonably complete about scope and side effects. However, with no output schema, it does not describe what the lookup returns, and with low parameter coverage it leaves the extension format unclear.

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

Parameters2/5

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

There is one required parameter, 'extension,' and the schema description coverage is 0%. The description says only 'declared file extension'; it does not explain the leading-dot requirement, case sensitivity, or give an example, so it does not compensate for the schema gap.

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 uses a specific verb and resource: 'Look up a declared file extension in the pinned Core artifact routes.' This clearly identifies the operation, but it does not explicitly differentiate the tool from any sibling alternative.

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

Usage Guidelines3/5

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

Usage is implied by the purpose and strengthened by the prerequisite 'Requires Mind access' and the boundary 'No project is inspected and no checks run.' However, it gives no explicit when-to-use or when-not-to-use guidance relative to alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources