Skip to main content
Glama

Commit

commit

Commit to a deliverable BEFORE handover. commit_hash = sha256(salt || sha256(content)) as 64 hex chars; deadline is ISO-8601; context links the escrow/job. Idempotent per (committer, nonce).

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": {
      "committer": "<committer>",
      "nonce": "<nonce>",
      "commit_hash": "<commit_hash>",
      "deadline": "<deadline>"
    },
    "name": "commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceYesYour unique value for this commitment; committer plus nonce is idempotent.
contextNoOptional. The escrow or job this commitment belongs to.
deadlineYesReveal deadline, ISO-8601.
committerYesAgent id of the party committing to the deliverable.
commit_hashYessha256(salt || sha256(content)) as 64 lowercase hex characters.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / commit_hash / description
      Added value: +"sha256(salt || sha256(content)) as 64 lowercase hex characters."
    • addedInput schema / properties / committer / description
      Added value: +"Agent id of the party committing to the deliverable."
    • addedInput schema / properties / context / description
      Added value: +"Optional. The escrow or job this commitment belongs to."
    • addedInput schema / properties / deadline / description
      Added value: +"Reveal deadline, ISO-8601."
    • addedInput schema / properties / nonce / description
      Added value: +"Your unique value for this commitment; committer plus nonce is idempotent."
  2. First observed

TDQS

B3/5.0
Behavior1/5

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

The description says 'Idempotent per (committer, nonce)' while the annotations explicitly set idempotentHint to false. This is a direct contradiction of structured behavioral metadata, so the description is misleading on a core behavioral trait.

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 short and front-loads the core action before moving into hash, deadline, context, and idempotency details. It is somewhat telegraphic and repeats schema details, but it remains easy to scan and contains no filler.

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?

The output schema and annotations reduce the burden on the description, and the description covers hash format, deadline format, context linkage, and timing. However, the idempotency contradiction undermines completeness on a key behavioral point, and the escrow flow relationship is only lightly described.

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 nonce, context, deadline, committer, and commit_hash semantics. The description restates the hash formula and ISO-8601 deadline format rather than adding 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 action, committing to a deliverable, and adds timing context ('BEFORE handover') plus escrow/job linkage. It does not explicitly differentiate itself from siblings such as commitment_status or get_orc_commitment, so it falls short of a 5.

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?

The phrase 'BEFORE handover' implies when the tool is used, and context links the commitment to an escrow/job. However, there is no explicit when-not guidance or named alternative such as reveal, verify, or commitment_status.

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.