Skip to main content
Glama

cuni_bank

Read-onlyIdempotent

CuNi translate, legacy name cuni_bank. Paste N, get X, or refuse. POST /v1/translate. SKU lab-translate $0.10. Pass payment or the lab returns 402. The Studio playground stays free. Use spl_compress for byte compression.

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>",
      "to": "<to>"
    },
    "name": "cuni_bank"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget language for the output, e.g. js, go, ts, py. Required.
fromNoSource language: py for a Python v1-subset program, cuni for .cuni source. Defaults to py.
sourceYesSource program to run: a Python v1-subset program or .cuni source text.
paymentNox402 X-PAYMENT header. Omit it and the lab answers 402.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / payment
      Added value: +{
      +  "description": "x402 X-PAYMENT header. Omit it and the lab answers 402.",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"py | cuni"New value: +"Source language: py for a Python v1-subset program, cuni for .cuni source. Defaults to py."
    • changedInput schema / properties / source / description
      Previous value: -"Source program (Python v1 subset or .cuni)"New value: +"Source program to run: a Python v1-subset program or .cuni source text."
    • changedInput schema / properties / to / description
      Previous value: -"catalog id: py, go, js, ts, …"New value: +"Target language for the output, e.g. js, go, ts, py. Required."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnly/openWorld/idempotent/non-destructive), the description discloses real operational facts: the HTTP endpoint, the SKU and price, and the hard failure mode (402 without payment) plus the free playground alternative. That is meaningful disclosure for a tool whose annotations say nothing about cost or auth. It remains vague about what 'refuse' means (compile error vs. payment refusal) and about output shape.

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?

Short and front-loaded: purpose and legacy alias come first, then endpoint, price, and the sibling redirect. The telegraphic 'Paste N, get X, or refuse' is efficient but cryptic enough to cost a point, and the SKU/endpoint fragments are utilitarian rather than explanatory.

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?

With no output schema, the description should carry more of the return-value burden, but 'get X' is the only hint at output. It does cover payment, pricing, failure mode, and endpoint, which is the critical missing piece for this tool. What an agent receives back (translated source? error text?) is left unspecified.

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 source, from, to, and payment in detail; the baseline is 3. The description reinforces the payment parameter's consequence ('Pass payment or the lab returns 402') and the paste-N/get-X mapping, but adds no syntax or format detail the schema lacks.

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 first sentence names the operation ('CuNi translate') and resolves the legacy tool name 'cuni_bank', so an agent knows this converts CuNi/Python source into a target language. It also routes byte-level work to spl_compress. It does not differentiate itself from the sibling literally named 'translate', which leaves residual ambiguity about which translator to pick.

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

Usage Guidelines4/5

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

It gives concrete usage context: paste source, get output or a refusal, and an explicit exclusion ('Use spl_compress for byte compression'). It also states the cost channel ($0.10, free in the Studio playground), which shapes when an agent should call it. Missing is any statement of when to prefer this over the sibling 'translate' tool.

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