ai-model-router
Server Details
Cloudflare Workers MCP server: ai-model-router
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- lazymac2x/ai-model-router-api
- GitHub Stars
- 0
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 3.5/5 across 3 of 3 tools scored.
list_models is distinctly informational, while compare_models and route_model both relate to model selection. However, compare_models provides a comparison output, whereas route_model gives a recommendation, so they serve separate intents with clear descriptions.
All tool names follow the verb_noun pattern with lowercase and underscores: compare_models, list_models, route_model. Consistent and predictable.
Three tools is well-scoped for a model router: listing, comparing, and routing. Each tool earns its place without redundancy.
The tool surface covers the full workflow: discover available models, compare them, and select one. No obvious gaps for the stated purpose.
Available Tools
3 toolscompare_modelsBInspect
Compare cost and task fit across all supported AI models for a given prompt or token count.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| task_type | No | ||
| input_tokens | No | ||
| output_tokens | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must convey behavioral traits. It only states the core function without detailing return format, side effects, or input requirements. It does not disclose whether it's read-only or if parameters have constraints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence of 15 words, no redundancy, and the main action is front-loaded. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no annotations, no output schema, and a sparse description, the tool's behavior is underspecified. The description does not explain how parameters interact, what constitutes a valid task_type, or what the comparison output looks like.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0% coverage, and the description provides only a hint that the tool works 'for a given prompt or token count', which loosely maps to prompt/input_tokens/output_tokens but does not clarify task_type or parameter relationships. This is insufficient compensation for the complete lack of schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'compare' and identifies the resource as 'all supported AI models', clearly distinguishing from sibling tools like list_models and route_model. The scope ('cost and task fit') is explicit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for comparing cost and task fit, but does not explicitly mention when to use it over list_models or route_model, nor does it state exclusions or prerequisites. It offers clear context but lacks explicit alternative guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_modelsAInspect
List all supported AI models with pricing and capabilities.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose behavioral traits itself. It only states that the tool lists models with pricing and capabilities, without mentioning read-only behavior, rate limits, pagination, or side effects. This is a minimal disclosure for a list operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that directly conveys the core function. It is front-loaded and contains no unnecessary words, achieving good conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no parameters and no output schema, the description provides enough context about what the tool returns (a list of models with pricing and capabilities). It could be more explicit about being a read-only overview, but the simplicity of the tool makes this adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the baseline is 4. The description does not need to explain parameters because there are none. It adds no parameter-specific meaning but also does not need to.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool lists all supported AI models with pricing and capabilities. The verb 'list' and resource 'supported AI models' establish a specific purpose that distinguishes it from siblings like compare_models and route_model.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage guidance is implied but not explicit. The description indicates the tool is for listing all models, but it does not mention when to use this versus comparing or routing models. No alternatives or exclusion criteria are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
route_modelBInspect
Select the optimal AI model (GPT-4, Claude, Gemini) for a task based on type, cost, and provider preferences.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Task description for auto-classification | |
| task_type | No | ||
| prefer_tier | No | ||
| input_tokens | No | ||
| max_cost_usd | No | Max budget in USD per call | |
| output_tokens | No | ||
| prefer_provider | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden for behavioral transparency. It does not disclose whether the tool is read-only, how it handles the prompt or cost constraints, or whether it invokes the model or merely recommends one. This lack of detail is a significant gap for a tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence with no filler. It front-loads the action ('Select the optimal AI model') and earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 7 optional parameters, no output schema, and sparse annotation support, the description remains quite brief. It does not state what the tool returns, how auto-classification works, or the interaction between cost and tier preferences. Given the moderate complexity and low schema coverage, more detail is needed for full contextual completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 29% (2/7 parameters have descriptions). The tool description mentions 'type, cost, and provider preferences', which maps to task_type, max_cost_usd, and prefer_provider, but it does not explain the role of prompt, input_tokens, output_tokens, or prefer_tier. This leaves several parameters under-specified for the agent.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Select the optimal AI model (GPT-4, Claude, Gemini) for a task based on type, cost, and provider preferences.' This specific verb+resource distinguishes it from siblings 'compare_models' and 'list_models' which imply comparison and listing rather than selection.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use it (when you need to select a model based on task criteria), but it does not explicitly mention alternatives or exclusions like 'use compare_models for side-by-side comparison'. This leaves usage relative to siblings somewhat implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- Flicense-qualityCmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, enabling connection to Cloudflare AI Playground or local MCP clients.
- Flicense-qualityCmaintenanceDeployable MCP server on Cloudflare Workers without authentication, enabling AI agents to use custom tools via SSE endpoint. Supports connection to Cloudflare AI Playground and local clients like Claude Desktop.
- Flicense-qualityCmaintenanceDeploy a remote MCP server on Cloudflare Workers without authentication, enabling integration with AI clients like Cloudflare AI Playground and Claude Desktop.
- Flicense-qualityCmaintenanceA remote MCP server template for Cloudflare Workers, enabling easy deployment and connection to AI clients like Cloudflare AI Playground and Claude Desktop.