Skip to main content
Glama

Report whether a route held

report_route_outcome

After using a route, report whether it held: worked, partly_worked, stale or failed, plus the tool calls you spent and an optional ≤100-char note on what changed. Takes one call; it keeps routes fresh and flags stale ones for re-verification. Recorded as an anonymous analytics event — never include personal data, credentials, order numbers or your user's own spec.

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": {
      "slug": "<slug>",
      "outcome": "<outcome>"
    },
    "name": "report_route_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWhat changed, e.g. 'Razorlab now stocks mirror acrylic'
slugYes
outcomeYes
steps_takenNoTool calls you spent on the task

Output Schema

NameRequiredDescriptionDefault
nextNo
recordedYes
stored_asNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "next": {
      +      "type": "string"
      +    },
      +    "recorded": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "note": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "outcome": {
      +          "type": "string"
      +        },
      +        "slug": {
      +          "type": "string"
      +        },
      +        "steps_taken": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "slug",
      +        "outcome",
      +        "steps_taken",
      +        "note"
      +      ],
      +      "type": "object"
      +    },
      +    "stored_as": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "recorded"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say it is a non-destructive, non-read-only, non-idempotent write; the description adds the material facts: the data becomes an anonymous analytics event, it mutates the freshness state of routes and can trigger re-verification of stale ones, and there is a hard privacy prohibition on personal data, credentials, order numbers and the user's own spec. The privacy constraint and the downstream effect on shared state are exactly the behavioral context annotations cannot convey, and 'one call' pegs the cost.

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?

Two sentences, front-loaded with the core action and outcome vocabulary before the economics and the safety caveat. Dense but every clause carries information; the only slight cost is that the second sentence stacks three unrelated points (cost, effect, privacy) into one line.

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 an output schema present, return values need not be explained, and annotations plus the description together cover safety, side effects, payload limits and privacy. The remaining omission is edge behavior for the required slug (e.g. what happens if it does not match a known route), which is minor for a fire-and-forget feedback tool.

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

Parameters4/5

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

Schema coverage is 50% (slug and outcome have no field descriptions), and the description compensates: it enumerates the four legal outcome values, defines steps_taken as 'the tool calls you spent', and explains note as a '≤100-char note on what changed'. Only slug is left implicit ('a route' you just used), which is a minor gap.

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 ('report whether it held') and enumerates the exact outcome vocabulary (worked, partly_worked, stale, failed) plus the two other payload fields. It is clearly distinguishable from every sibling (find_routes, get_route, get_execution are reads; this is write-back feedback on a route already used).

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?

'After using a route' gives an unambiguous trigger condition, and 'Takes one call; it keeps routes fresh and flags stale ones' supplies the rationale for bothering to call it. It stops short of explicit exclusions (e.g. do not report on a route you never invoked), so it is clear context rather than full when/when-not guidance.

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.