Skip to main content
Glama

llm

llm
Read-only

Pay-per-call LLM chat completion (Llama 3.1 8B, fast), no API key. Send OpenAI-style messages, get the assistant reply. Flat price per request, up to 2k output tokens. Costs $0.005 USDC per call (x402).

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
messagesYes
max_tokensNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint. The description adds genuinely useful operational context beyond them: no API key needed, a hard 2k output token cap, and a $0.005 USDC x402 charge per call. That payment/auth/cost profile materially affects whether an agent should call it.

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?

Four short, front-loaded sentences with no filler; the model, the message contract, and the price are all up front. Slightly choppy but every sentence carries a distinct fact.

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

Completeness3/5

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

No output schema exists, and the description does cover the essential return notion ('get the assistant reply') plus the output token ceiling and price. However, two of three parameters have zero semantics anywhere, and nothing is said about error/refund behavior when payment is involved — a notable gap for a paid 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 0% across 3 parameters, so the burden is on prose. 'Send OpenAI-style messages' usefully clarifies the shape and role/content convention of the required messages array, but max_tokens and temperature are left completely unexplained in both schema and description.

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

Purpose4/5

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

States a specific verb+resource (chat completion) plus the concrete backend (Llama 3.1 8B, fast), so an agent knows exactly what it does. It is distinguishable from the many sibling chat tools only by inference from the model name; it never explicitly contrasts itself with llm_large, llama4_chat_completions, or chat_completions.

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?

The words 'fast' and 'flat price' imply this suits cheap/simple requests, but no when-to-use or when-not-to-use condition is stated. In a catalog with a dozen-plus chat_completions siblings, the agent gets no explicit routing rule.

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.

Resources