Skip to main content
Glama

translate

Read-onlyIdempotent

CuNi translate. Paste N, get X, or refuse. POST /v1/translate. SKU lab-translate $0.10. Pass payment or the lab returns 402.

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": {
      "source": "<source>"
    },
    "name": "translate"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoCatalog id. Default js.
fromNopy or cuni. Default py.
sourceYesProgram text. CuNi source, except ingest which takes the foreign source.
paymentNox402 payment header (X-PAYMENT). Omit it and the lab answers 402.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the baseline bar is low. The description does add genuinely useful behavioral context the annotations lack: the HTTP endpoint (POST /v1/translate), a concrete price (SKU lab-translate $0.10), and the failure mode (402 without payment). It stops short of explaining what "refuse" means or what a successful response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the tool name and action, which is good. But the fragment "Paste N, get X, or refuse" is under-specified rather than concise — it spends a sentence without conveying actionable meaning.

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?

For a low-complexity, fully-schema-covered tool, the description covers cost, endpoint, and payment failure, which is solid. However, with no output schema and no statement of what a result or a "refusal" looks like, an agent still cannot anticipate the return shape.

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 the baseline is 3 and the schema already documents all four params including defaults. The description's "Paste N, get X" only loosely maps to `source`/`to` and adds no format, syntax, or constraint detail 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?

"CuNi translate" plus "Paste N, get X, or refuse" conveys a source-in/result-out transform, but "Paste N, get X" is cryptic and the description never states the direction (py ↔ cuni) that the schema's `from`/`to` params actually control. An agent can guess it translates program text, but the purpose is only vaguely pinned down and not distinguished from siblings like `ingest`.

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 description gives a prerequisite (payment or 402) but no guidance on when to choose this tool over alternatives such as `ingest` or `check`. There are no exclusions and no stated scenarios, so usage must be inferred from the name alone.

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