Skip to main content
Glama

Conduit Router — Governed MCP Routing

Route a chat completion

route_chat

Send a chat completion through Conduit Router: policy-checked, budget-checked, metered, and audit-receipted. Uses your own stored provider keys (BYOK). Pin a model as "provider:model" or let your standing terms choose.

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_chat"
  }
}

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. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare it is a non-idempotent, open-world, non-destructive write; the description adds substantial context beyond that by disclosing that each call is policy-checked, budget-checked, metered, and audit-receipted, and that it draws on the caller's own stored keys. That tells the agent there are cost and audit side effects. It does not say what happens when a policy or budget check fails, which would have pushed this higher.

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?

Three short sentences with no padding, front-loaded with the core action and its guarantees before the optional pin/default behavior. The adjective chain (policy-checked, budget-checked, metered, audit-receipted) is dense but each term conveys a real behavioral property.

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?

For a tool that performs a real, costly, open-world operation with no output schema, the description should indicate what comes back (the completion itself, and presumably a receipt or request id given the sibling get_receipt/verify_receipt tools). That return-shape and failure-mode information is absent. Given full schema coverage and rich annotations, the definition is usable but leaves a meaningful gap.

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%, so the schema already carries most parameter meaning and a baseline of 3 applies. The description adds one useful thing beyond the schema: the statement that omitting the model lets standing terms perform the routing choice, which clarifies the default behavior. It does not elaborate on task_profile trade-offs beyond what the enum description already says.

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?

States a specific verb and resource ("Send a chat completion") plus the routing layer it goes through, which clearly separates it from the read-only siblings (get_policy, get_receipt, get_usage). It stops short of explicitly naming an alternative, but the action-versus-lookup distinction is evident from the wording alone.

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 only usage guidance is about parameter choice: pin a model as "provider:model" or let standing terms choose. There is no explicit when-to-use / when-not-to-use framing, no mention of whether to call list_models first to discover valid ids, and no note about prerequisites such as having stored provider keys configured before the first call.

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.