Skip to main content
Glama

router_completions

Generate model text completions from a prompt using an OpenAI-compatible orq.ai router endpoint; set model, max tokens, and temperature as needed.

Instructions

Create completion

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": {
      "model": "<model>",
      "prompt": "<prompt>"
    },
    "name": "router_completions"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesModel ID
promptYesPrompt text
max_tokensNoMax tokens
temperatureNoTemperature

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about whether this is a paid/rate-limited LLM call, whether output is streamed, whether it is deterministic, or what a completion response looks like. For a non-idempotent generative endpoint with zero annotation coverage this is a serious omission.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The text is short but under-specified rather than concise: it is a bare noun phrase with no lead sentence, no scope, and nothing front-loaded that helps an agent decide to call it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A four-parameter generative endpoint with no annotations and no output schema needs the description to cover cost, response shape, and routing versus router_chat_completions, and it covers none of these. The definition is effectively incomplete for the tool's complexity.

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?

All four parameters (model, prompt, max_tokens, temperature) have schema descriptions at 100% coverage, so the schema itself explains the inputs. The description adds no meaning beyond that, which meets the baseline-3 expectation when schema coverage is high.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create completion" restates the tool name in generic terms and never says what a completion is, what model family it targets, or how it differs from the sibling router_chat_completions or router_embeddings. An agent cannot use the description alone to tell this apart from the other router endpoints.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no distinction from the chat/completions sibling, no mention of prerequisites such as an API key or deployment, and no exclusions. The two-word description leaves routing entirely to inference from the name.

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