Skip to main content
Glama

api_generate

Read-only

$0.09 via x402: Premium Ollama-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": {
      "prompt": "<prompt>"
    },
    "name": "api_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNomodel name
promptYesthe prompt text
x_paymentNoOptional signed x402 payment payload

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / model / description
      Added value: +"model name"
    • addedInput schema / properties / prompt / description
      Added value: +"the prompt text"
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. Added

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is partially covered. The description adds valuable context that this is a paid endpoint ($0.09 via x402), which explains the x_payment parameter and signals billing behavior. It does not explain what happens when payment is missing/invalid, nor what the response looks like, and the marketing phrasing ('Premium', 'autonomous LLM crawlers') supplies tone rather than operational detail.

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?

Two short sentences, but the lead position is spent on price and promotional language rather than the core function. 'Premium' and 'autonomous LLM crawlers' are filler for an agent deciding whether to call the tool.

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?

With no output schema and no explanation of what is returned (generated text? streaming? model echo?), the description leaves a meaningful gap. It also fails to clarify the fallback relationship to sibling generation endpoints, so an agent lacks enough to invoke confidently beyond the bare schema.

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 all three parameters (model, prompt, x_payment) are already documented in the schema, which sets the baseline at 3. The pricing mention implies x402 payment mechanics but adds no format or usage detail beyond what the schema states.

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?

The description calls this a 'Premium Ollama-Compatible Proxy' with 'Fallback routing', which gestures at text generation but never states the verb+resource plainly. An agent has to infer from the input schema (prompt/model) that this generates completions, and nothing distinguishes it from siblings like post_api_v1_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?

'Fallback routing' hints this should be used when a primary route fails, but no explicit when-to-use, when-not, or which sibling to prefer is given. The reader is left to guess the fallback ordering and trigger conditions.

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.