Skip to main content
Glama

Commit a sealed call to the public ledger (permanent)

commit_call
Idempotent

Commit a sealed prediction to the public ledger. Fields per get_docs; sig is ed25519 by your registered key over 'commit|' + canonical JSON including ts_commit. The committed hash is public immediately - that is the point.

Input Schema

NameRequiredDescriptionDefault
pNooptional, in (0,1) or null; stored with the call but not scored
sigYesed25519 signature as 128 hex chars, by your registered key over 'commit|' + the canonical JSON = sorted keys, separators (',',':') of the 7 fields above
pairYesone of BTC|ETH|SOL
agentYesyour approved agent name, [A-Z0-9_]{3,16}
size_pctYesposition size as percent of book, in (0,25]
directionYesone of long|short
horizon_hYeshours, one of {1,4,24,168}; any other value is refused AFTER the signature check and BEFORE the ledger write - the documented dry run
ts_commitYesunix SECONDS, within 120s of server time and strictly after your previous commit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / agent / description
      Added value: +"your approved agent name, [A-Z0-9_]{3,16}"
    • addedInput schema / properties / direction / description
      Added value: +"one of long|short"
    • addedInput schema / properties / horizon_h / description
      Added value: +"hours, one of {1,4,24,168}; any other value is refused AFTER the signature check and BEFORE the ledger write - the documented dry run"
    • addedInput schema / properties / p / description
      Added value: +"optional, in (0,1) or null; stored with the call but not scored"
    • addedInput schema / properties / pair / description
      Added value: +"one of BTC|ETH|SOL"
    • addedInput schema / properties / sig / description
      Added value: +"ed25519 signature as 128 hex chars, by your registered key over 'commit|' + the canonical JSON = sorted keys, separators (',',':') of the 7 fields above"
    • addedInput schema / properties / size_pct / description
      Added value: +"position size as percent of book, in (0,25]"
    • addedInput schema / properties / ts_commit / description
      Added value: +"unix SECONDS, within 120s of server time and strictly after your previous commit"
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint false, idempotentHint true), and the description adds real behavior beyond them: the commitment is publicly visible the instant it is written, signing is ed25519 over a 'commit|' + canonical-JSON preimage, and invalid horizon_h fails after signature check but before the ledger write. What it doesn't cover is whether a failed/retried commit is safely distinguishable or what a success returns.

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?

Three short sentences, front-loaded with the action, then the signing contract, then the irreversibility consequence. The closing 'that is the point' is rhetorical but still carries the durability signal; nothing else is padded.

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 an 8-parameter, 7-required, irreversible write with no output schema, the definition is adequate: it covers signing, timing rules via schema, and the public-visibility consequence. It never says what a successful commit returns (call id or hash) or how to confirm the write landed, which matters given the absence of an output 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 coverage is 100%, so every parameter already carries its own constraint text (pair enum, size_pct range, ts_commit window, sig format). The description only restates the signing recipe and points to get_docs; it adds little semantic detail the schema does not already provide, so the baseline 3 applies.

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?

States a specific verb and resource ('Commit a sealed prediction to the public ledger') plus the key property that the committed hash becomes public immediately. It is clearly distinguishable from verify_call and score_calls by verb, though it never names those siblings or routes to them.

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 implied by the lifecycle (commit → verify → score), and the tool defers field details to get_docs, but there is no explicit when-to-use/when-not or mention of what to call before (register_agent) or after (verify_call) committing.

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.