Skip to main content
Glama

Route between objects

route
Read-only

Find the shortest verified route between two objects: per hop the join_spec (file and column names; null when untested), cardinality, coverage, caveats and PII fields. Use it before you look records up in your human's systems. A wrong or missing hop goes to join_review (op flag). Details: maplith://docs/mcp.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "route"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget object, e.g. "shipment".
fromYesStart object, e.g. "order".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"Start object name, e.g. \"order\""New value: +"Start object, e.g. \"order\"."
    • changedInput schema / properties / to / description
      Previous value: -"Target object name, e.g. \"shipment\""New value: +"Target object, e.g. \"shipment\"."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds real substance beyond them: what each hop contains (join_spec, cardinality, coverage, caveats, PII fields) and the notable edge behavior that join_spec is null when untested. It does not discuss failure modes or response size, but the 'verified' framing plus the join_review handoff conveys the key behavioral constraint.

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 core purpose and the pre-lookup directive are front-loaded, and the return-field enumeration is packed into one clause. The jargon-heavy phrasing ('op flag', 'maplith://docs/mcp') costs a little readability but nothing is wasted.

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?

With no output schema, the description correctly carries the burden of explaining what a route result contains, including the null-join_spec case and the PII flag. It also points to external docs, leaving only minor gaps around hop limits or route ambiguity handling.

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 both parameters already carry examples ('order', 'shipment'), so the schema does the heavy lifting. The description only says the route runs 'between two objects', adding no format, naming-convention, or validation detail beyond the schema; baseline 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?

The description opens with a specific verb and resource ('Find the shortest verified route between two objects') and immediately characterizes the output shape per hop. An agent can distinguish this graph-navigation tool from lookup siblings like get_object or search without opening the schema.

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?

It gives an explicit sequencing rule ('Use it before you look records up in your human's systems') and routes the failure case to the sibling join_review. The parenthetical '(op flag)' is cryptic and no when-not-to-use case is stated, keeping it just below the top score.

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