Skip to main content
Glama

chat

chat

One-shot AI chat completion (Google Gemma 4 26B): send a prompt and optional system instruction, get the answer. Up to 2000 characters in and about 800 tokens out. Price: $0.003 USDC per successful 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": {
      "prompt": "<prompt>"
    },
    "name": "chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesYour prompt (max 2000 characters)
systemNoOptional system instruction (max 500 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it names the model, caps input at 2000 characters, indicates roughly 800 tokens of output, and discloses the $0.003 USDC per-successful-call price via x402. What is missing is failure behavior (what happens on a failed or unpaid call) and any latency expectation.

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?

Three short sentences, front-loaded with what the tool is, then limits, then cost — the ordering matches the decisions an agent makes before calling. Nothing is padded or repeated.

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?

For a two-parameter, single-turn tool with no output schema, the description covers the model, input/output limits, and pricing, which is enough to call it correctly. The only meaningful gap is what a failed or rejected paid call looks like.

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 both parameters and their character limits are already documented in the schema itself. The description only restates that the system instruction is optional and echoes the input cap, adding no meaning beyond the structured fields.

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?

The description gives a concrete verb and resource ("One-shot AI chat completion") plus the underlying model, so an agent knows exactly what the tool produces. "One-shot" implicitly separates it from any multi-turn or task-specific sibling, but no sibling is named, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied: a prompt in, an answer out, no conversation state. There is no explicit statement of when to pick this over siblings like ask, summarize, translate, or extract, and no mention of when it would be the wrong choice.

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