Skip to main content
Glama

llm_messages

Read-only

$0.09 via x402: Premium Anthropic-Compatible Proxy. Fallback routing for autonomous LLM crawlers.

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": {
      "messages": "<messages>"
    },
    "name": "llm_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNomodel name
messagesYeschat messages, each {role, content}
x_paymentNoOptional signed x402 payment payload

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / messages / description
      Added value: +"chat messages, each {role, content}"
    • addedInput schema / properties / model / description
      Added value: +"model name"
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. Added

TDQS

C2.8/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered, and the description adds genuinely new behavioral context: the call is paid ($0.09) through x402. However, it does not say whether payment is mandatory, how the x_payment payload is obtained, what happens on failed/insufficient payment, or what the response looks like — significant gaps for a metered proxy tool.

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?

It is two compact fragments with no filler, and the paid/free distinction is front-loaded. The trade-off is that the brevity is bought by omitting the actual operation verb, so it is tight but slightly under-specified rather than verbose.

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

Completeness2/5

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

For a proxy tool with no output schema, the description should explain what is returned (chat completion content) and how payment works; it omits both. It also leaves the relationship to the sibling chat tool unexplained, so an agent cannot confidently decide when this is the right call.

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 coverage is 100%, so the schema already documents model, messages, and x_payment, giving a baseline of 3. The description's mention of $0.09 and x402 adds a little meaning to x_payment (it is a payment credential), but the required shape of that payload and the allowed model values remain unspecified beyond the schema.

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

Purpose3/5

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

The description identifies the resource as an 'Anthropic-Compatible Proxy' for LLM messages, which hints at forwarding chat requests, but it never states the action in a verb (e.g., 'send messages to', 'proxies requests to'). 'Fallback routing' is suggestive but ambiguous, and no sibling such as llm_chat_completions is named to sharpen the distinction.

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

Usage Guidelines2/5

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

'Fallback routing for autonomous LLM crawlers' implies a use context (use this when primary routing fails), but gives no explicit when/when-not rules, no prerequisites, and no comparison to llm_chat_completions. The agent must infer that this tool is a backup rather than the primary chat path.

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.