Skip to main content
Glama
ZerouterAI

zerouter-mcp

Official
by ZerouterAI

Chat with a model via Zerouter

chat

Send prompts or message lists to any Zerouter model and route them automatically to the correct API endpoint for Claude, GPT, Gemini, Grok, or Kimi.

Instructions

Send a prompt or a message list to any Zerouter model (Claude, GPT, Gemini, Grok, Kimi, ...). The request is routed automatically: Claude/Kimi -> /v1/messages, GPT/Grok/Codex -> /v1/responses, Gemini and other models -> /v1/chat/completions. Requires ZEROUTER_API_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesModel ID, e.g. claude-sonnet-5-5, gpt-6-sol, gemini-3.8-flash, grok-4.6, kimi-k3
promptNoUser prompt. Appended after `messages` if both are given.
systemNoOptional system prompt
endpointNoOverride routing. Default auto.
messagesNoConversation history as {role, content} items
max_tokensNoMax output tokens (default 1024 for Claude/Kimi)
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true, so the description carries real weight by disclosing the per-model-family routing (Claude/Kimi -> /v1/messages, GPT/Grok/Codex -> /v1/responses, others -> /v1/chat/completions) and the API-key auth requirement. It does not disclose rate limits, error behavior, or what a response contains, keeping it below a 5.

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?

Three tight sentences, front-loaded with the core action before routing mechanics and the auth prerequisite. The middle routing sentence is dense but every clause conveys useful model-to-endpoint mapping; nothing is redundant.

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 seven parameters, the definition should describe the shape of what comes back (generated text, token usage, routing/endpoint used) so an agent can plan downstream steps. Routing, auth, and parameters are covered well, but the return value remains unspecified.

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 description coverage is 86%, so the documented parameters already stand on their own. The description still adds meaning by explaining how the 'endpoint' override interacts with automatic routing and which models map to which route, going beyond the bare enum values.

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 or message list to any Zerouter model') and immediately distinguishes itself from the get_pricing/list_models/compare_models siblings, which are informational rather than generative. The automatic routing detail further narrows what this tool uniquely does.

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?

Usage context is implied rather than stated: the description explains routing and the ZEROUTER_API_KEY prerequisite, but never says when to choose this tool or when not to. Since the three siblings are clearly different function categories, the omission is minor, but no explicit alternative guidance is given.

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

Deploy Server

Other Tools