Skip to main content
Glama

chain

Read-onlyIdempotent

CuNi chain. Solidity, Solana, ink!, Move, Vyper, Cairo, Clarity, Cadence, then the Python seat. POST /v1/chain. SKU lab-chain $0.50. 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": "chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoComma list: sol,solana,ink,move,vyper,cairo,clarity,cadence. Default all.
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.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and openWorld, so the description's added value is the payment/auth behavior: a $0.50 SKU and a 402 response when X-PAYMENT is omitted. That is genuinely useful context beyond annotations, but nothing is said about what the call produces or how failures other than 402 behave.

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?

Short with no filler, but written as telegraphic fragments with the identifying information (what it does) absent, while low-value details (endpoint path, SKU code, price) are front-and-center.

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, the description should say what comes back — a translated program, one per target, a bundle? That is entirely missing, as is any note on how multiple 'to' targets are handled or on input limits.

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. The description's chain list duplicates the enum already present in the 'to' parameter and adds no format, ordering, or default semantics for 'source'.

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 opens with 'CuNi chain' and lists target languages (Solidity, Solana, ink!, Move, Vyper, Cairo, Clarity, Cadence) plus an endpoint, but never states the verb or outcome — an agent must infer that it converts CuNi source into those targets. Without the schema's 'to' and 'source' fields, the purpose is barely recoverable.

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?

No when-to-use or when-not-to-use guidance, and no routing versus siblings such as ingest (which the schema hints is the reverse direction) or check/parity. The only conditional mentioned is payment, not task selection.

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