Skip to main content
Glama
userouter-mcp

userouter-mcp

Official
by userouter

Run inference on Userouter

chat

Sends a single prompt or full message history to a chosen Userouter model and returns the model reply, billed through the configured API key.

Instructions

Send a prompt to a model on Userouter and return its reply. Billed to the configured API key. Pass prompt for a single turn, or messages for a full conversation. Call list_models to pick a model id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoModel id, e.g. "qwen/qwen3.8-flash"
promptNoUser message for a single-turn request
systemNoOptional system prompt, used with `prompt`
messagesNoFull conversation; overrides prompt/system
max_tokensNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and openWorldHint=true; the description adds that the call is billed to the configured API key, which is important cost/authorization context an agent would not otherwise have. It also clarifies that `messages` supersedes the single-turn form. It omits rate limits, latency, and error behavior, but the billing disclosure is a substantial add over 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and its return, then the parameter fork, then the discovery pointer. Every sentence carries distinct information with no filler.

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?

With no output schema and six parameters, the description never describes what the reply object contains (text only, token usage, finish reason) nor the defaults for max_tokens and temperature, which materially affect output. It covers routing, billing, and the prompt/messages choice well, but the return side is left as 'its reply'.

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 67% and `messages` already documents 'overrides prompt/system' in its own schema description, so the description largely restates it in 'single turn' vs 'full conversation' terms. It adds framing but no format, defaults, or ranges for the undocumented temperature/max_tokens parameters. Baseline 3 is appropriate given the schema is doing most of the work.

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: send a prompt to a model on Userouter and return its reply. This is unambiguous and clearly distinct from the sibling tools (list_models, get_balance, get_usage), which are about metadata and billing rather than inference.

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?

Explicitly resolves the main usage fork: pass `prompt` for a single turn or `messages` for a full conversation. It also routes the agent to list_models to obtain a model id, which is a real prerequisite step. It stops short of stating exclusions or prerequisites such as needing a configured key before calling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.