Skip to main content
Glama

x711_llm_routing

Read-only

Routes a prompt to the best available LLM. Two backends:

  1. DEFAULT — Hugging Face (Qwen2.5-7B, free with API key)

  2. PREMIUM — OpenVecta (GLM-5.2 and more, set provider:'openvecta')

Use ONLY when you need external LLM help. Never for things you can answer from context.

Returns: { response: string, model: string, provider: string, tokens_used?: number }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel name. For OpenVecta: 'glm-5.2' (default). For HuggingFace: 'Qwen/Qwen2.5-7B-Instruct' (default). Setting a glm-* model automatically routes to OpenVecta.
queryNoAlias for prompt (use either prompt or query).
promptNoComplete prompt with all necessary context. The model has no memory of prior tool calls. Max ~4000 tokens recommended.
systemNoOptional system prompt injected before the user message.
providerNo'huggingface' (default, free with key) or 'openvecta' (premium inference via x711 × OpenVecta).
max_tokensNoMax tokens to generate. Default 512, max 4096. Size to your workload — cost ceiling is based on this value.
temperatureNoSampling temperature 0-2. Default 0.7.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
modelYes
preferNo
tokens_usedNo

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, which cover safety. The description adds valuable behavioral context: the model has no memory of prior tool calls, there are two backend options with different cost models, and the response shape is disclosed. It does not mention rate limits or auth details, but the bar is lower given 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?

The description is well-structured and concise, with numbered backends, a clear usage directive, and a return format. Every sentence contributes to understanding the tool, and it is front-loaded with the core action.

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

Completeness4/5

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

Given the schema covers all parameters and the annotation declare safety, the description is fairly complete. It covers usage, backends, and return shape. However, it does not explain criteria for choosing 'best available' LLM or mention potential error/fallback behavior, leaving a small gap for a routing tool.

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 parameter semantics are fully handled by the schema. The description itself adds little beyond highlighting the prompt/query alias and the cost-ceiling note for max_tokens, which is already in the schema. Baseline 3 is appropriate.

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?

The description clearly states the tool's purpose: 'Routes a prompt to the best available LLM.' It specifies two backends (Hugging Face and OpenVecta) with specific models, and explicitly differentiates from context-answering tools with the warning 'Never for things you can answer from context.'

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?

Provides clear usage context: 'Use ONLY when you need external LLM help. Never for things you can answer from context.' This is a strong when/when-not boundary, but it does not explicitly name alternative sibling tools such as x711_ask_clerk or x711_web_search.

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.

TDQS

A3.9/5.0
Disambiguation3/5

Many tools have overlapping purposes, such as multiple search tools (web_search, deep_search, data_retrieval) and multiple communication tools (agent_ping, agent_telegram, swarm_broadcast). The descriptions help differentiate, but the boundaries are not always clear.

Naming Consistency4/5

All tools consistently use the 'x711_' prefix and lowercase_with_underscores format. Submodules like agent, hive, and tx follow predictable patterns. Minor deviations (e.g., x711_ask_clerk) are rare and still descriptive.

Tool Count2/5

With 47 tools, the server is excessively large for a typical MCP service. While it aims to be a comprehensive platform, the high count makes navigation and selection cumbersome for an agent.

Completeness4/5

The tool set covers a wide range of agent needs: web access, memory, communication, on-chain transactions, code execution, and more. Minor gaps exist (e.g., no agent deletion tool), but overall it is remarkably complete for the stated purpose of an agent platform.

Resources