Skip to main content
Glama

Conduit Router — Governed MCP Routing

Route a call and prove its receipt

route_and_prove

One call that composes route_chat + get_receipt + verify_receipt: routes a chat completion through the same policy, budget, and metering pipeline, then fetches the minted audit receipt and verifies it against the chain. Returns the completion (or the route failure — blocked and failed attempts are receipted too, and their receipts are proved the same way), the charge lines, the proof block, and an explicit not_proven list naming what the proof does not cover.

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": {
      "messages": "<messages>"
    },
    "name": "route_and_prove"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional pin: "provider:model" (e.g. "groq:llama-3.3-70b-versatile"), "custom:<endpoint_id>:<model>", or a bare catalog model id.
messagesYesOpenAI-shaped messages: [{role, content}] with role system|user|assistant|tool.
max_tokensNoOptional cap on the completion's output tokens.
task_profileNoOptional routing profile: reasoning (deepest models), tool-use, or bulk (cheapest/fastest). Defaults to your standing terms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-idempotent, open-world call; the description adds real value on top by disclosing that it runs through policy, budget, and metering (cost implications), that receipts are minted even for blocked and failed attempts, and that a not_proven list explicitly names what the proof does not cover. That last point is unusually honest about limitations. It does not discuss idempotency/retry behavior or whether charges apply to failed routes, leaving a small gap.

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-loads the composition in the first clause, then enumerates returns in the second; the parenthetical about failed attempts sits exactly where the reader needs it. Dense but every clause carries information, with no filler or repetition of the schema.

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 does the work of enumerating the return payload: completion or route failure, charge lines, proof block, and not_proven list. That is strong coverage for a composite tool, though it omits format details such as how the proof block or charge lines are structured.

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 description coverage is 100%, including the model pin format, message shape, and the task_profile enum meanings, so the schema carries parameter semantics fully. The description adds nothing parameter-specific beyond implying messages drive routing. Baseline 3 is appropriate.

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 action (routes a chat completion and proves its receipt) and explicitly frames itself as the composition of route_chat, get_receipt, and verify_receipt, which cleanly distinguishes it from those siblings. An agent knows exactly what this tool does and how it differs 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?

Naming the three siblings it composes implicitly tells the agent to use this instead of chaining those calls manually, and the note that blocked/failed attempts are also receipted and proved clarifies an important edge case. It stops short of an explicit 'prefer this over route_chat when you need proof' statement or any when-not-to-use exclusion, so it is clear context rather than full routing 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.