Skip to main content
Glama

Get the durable completed result for a commitment

get_commitment_result

Returns the same verified caller's stored result and hash (R.2). On a missing result, write-ahead recovery (R.3) may materialize a canonical envelope from durable settlement facts, not missing merchant output. Read-only; no payment or execution is initiated. Recovery can write the derived result to the store. Lifecycle delegation does not transfer access to another principal's result.

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": {
      "commitmentId": "<commitmentId>",
      "agentId": "<agentId>",
      "role": "<role>",
      "proof": "<proof>"
    },
    "name": "get_commitment_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesThe caller's role on this commitment
proofYesEIP-712 AuthorityProof signed by the caller (issuer = signer)
agentIdYesThe caller's durable agent identifier
commitmentIdYesThe commitment id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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 discloses meaningful behavior: read-only access, no payment or execution initiated, missing-result recovery that may materialize a canonical envelope from durable settlement facts, and no access transfer through lifecycle delegation. It is strong but does not fully cover authorization failure modes or rate-limit behavior, and the read-only versus recovery-write nuance could be clearer.

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?

The description is front-loaded with the primary return behavior and remains appropriately short for a retrieval tool. Internal references such as R.2 and R.3 and the compact recovery sentence add some density, but each sentence contributes relevant behavior.

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 complex authenticated retrieval tool with four required parameters, nested proof, an enum, and no output schema, the description covers the core result/hash return, missing-result recovery behavior, read-only intent, recovery-side write behavior, and access-control scope. It is complete enough to call safely, though it could say more about response envelope shape or error conditions.

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 schema already documents the four required parameters, including role and the EIP-712 proof object. The description adds useful caller-scoping context through 'same verified caller's' and the delegation restriction, but it does not add parameter-level syntax or meaning beyond the schema.

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 states a specific verb and resource: it returns the verified caller's stored result and hash for a commitment. This distinguishes it implicitly from status/history-style siblings by focusing on the completed result, but it does not explicitly name or compare against those siblings.

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: use this to retrieve the stored completed result, and missing results may trigger write-ahead recovery. However, the description does not state when to prefer this over get_commitment, get_commitment_status, or get_commitment_history, nor does it give explicit exclusions or prerequisites beyond caller verification.

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.