Skip to main content
Glama

route_context

route_context
Read-onlyIdempotent

Aggregates route trace, file health, imports, schema usage, RPC traces, and database policies to build a complete neighborhood context for a single route.

Instructions

Neighborhood composer for one route: combines route_trace route resolution, file_health handler summary, imports_deps direct imports/dependents, schema_usage touches, trace_rpc downstream table edges, and db_rls policy surfaces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdNo
projectRefNo
routeYes
maxPerSectionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNameYes
projectIdYes
generatedAtYes
routeYes
resolvedRouteYes
handlerFileYes
outboundImportsYes
inboundImportsYes
downstreamTablesYes
downstreamRpcsYes
rlsPoliciesYes
evidenceRefsYes
trustYes
reefExecutionYes
warningsYes
_hintsYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds value by listing the combined data sources but does not disclose additional behavioral traits such as performance implications or authentication requirements beyond the annotations.

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 a single sentence that front-loads the key idea ('Neighborhood composer for one route') and lists components concisely. However, it could benefit from slight restructuring for easier parsing.

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?

Output schema exists, so the lack of return value description is acceptable. However, the description does not cover how parameters affect the output, error conditions, or what happens when data is missing. It is adequate but not comprehensive.

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?

The input schema has 0% description coverage, and the description does not explain any of the parameters (projectId, projectRef, route, maxPerSection). The agent must rely solely on parameter names, which is insufficient for correct invocation.

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 as a 'neighborhood composer for one route' and lists the specific components it combines (route_trace, file_health, imports_deps, etc.), making it distinct from sibling tools like route_trace or imports_deps.

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?

The description implies usage when a comprehensive overview of a route's context is needed, but it does not provide explicit guidance on when to use this tool versus alternatives like rpc_neighborhood or route_trace, nor does it mention exclusions.

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/drhalto/agentmako'

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