Skip to main content
Glama

x711 — Universal Agent Gas Station

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.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, and the description adds key context: the model has no memory of prior tool calls, and it returns a structured object with response/model/provider/tokens_used. It also discloses backend options and the cost-bearing max_tokens property, going beyond the annotation safety signals.

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 tight and front-loaded: a one-sentence purpose, a two-item backend breakdown, an explicit usage restriction, and a return-type signature. Every line adds information and none is redundant with the schema.

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 7-parameter schema and annotations, the description covers the core behavior, backends, usage boundaries, and return shape. It omits error/authentication failure details, but the schema and openWorldHint already offer substantial context, so the description is sufficiently complete for invocation.

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?

With 100% schema coverage, the baseline is 3, but the description adds meaningful behavior: prompts must be self-contained because 'The model has no memory of prior tool calls,' and recommends a max ~4000 token prompt. It also clarifies which provider a glm-* model implies, complementing the schema.

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 opens with 'Routes a prompt to the best available LLM,' which is a specific verb+resource statement. It further distinguishes itself by enumerating two distinct backends (Hugging Face vs OpenVecta), clearly separating it from sibling tools that handle other x711 functions.

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?

The tool includes an explicit gate: 'Use ONLY when you need external LLM help. Never for things you can answer from context.' This clearly defines when to invoke. However, it does not name a specific sibling alternative tool, so it stops short of a full when-to-use comparison.

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

B3.4/5.0
Disambiguation2/5

Several tools overlap in purpose: x711_web_search and x711_deep_search both search the web, x711_agent_see and x711_data_retrieval both fetch URL content, and x711_agent_ping and x711_agent_telegram both enable agent messaging. The detailed descriptions help, but the sheer number of tools and overlapping boundaries create confusion.

Naming Consistency3/5

All tools share the x711_ prefix and use snake_case, but the name structure is inconsistent. Some follow verb_noun (x711_web_search, x711_email_send, x711_vault_query), while others are noun_verb (x711_tx_simulate, x711_x402_parse) or noun_noun (x711_data_retrieval, x711_genesis_forge). Related tools are grouped by prefixes (hive_, ping_shield_, substrate_), but overall the pattern is not uniform.

Tool Count2/5

47 tools is far above the typical well-scoped range. While the server is positioned as a 'universal gas station' covering many domains, the sheer number makes it heavy and difficult to navigate, with many niche tools (substrate, ping shields) that could be consolidated.

Completeness2/5

Despite the large tool count, there are significant lifecycle gaps. Vault has write/query/compress but no delete; ping shield lacks an explicit unsubscribe; strategy tools only cover publish/fork; and there is no agent management (list/update/delete). Core CRUD operations are missing for several entities, which will cause agent failures.

Resources