Skip to main content
Glama

nexus_sign_agreement

Sign a 32-byte bilateral agreement hash with the agent's real Ed25519 private key to authorize autonomous M2M contracts.

Instructions

Sign a 32-byte bilateral agreement hash using the agent's real Ed25519 private key.

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": {
      "agreement_hash": "<agreement_hash>"
    },
    "name": "nexus_sign_agreement"
  }
}

Input Schema

NameRequiredDescriptionDefault
agreement_hashYes64-character hex agreement hash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Because no annotations are supplied, the description carries the full behavioral burden. It usefully discloses that signing uses the agent's *real* Ed25519 private key (implying a genuine, security-sensitive, likely irreversible action rather than a simulation), but it says nothing about whether the signature is published or registered, what happens on failure, or whether the operation is rate-limited.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with no filler, front-loading the action and the input's defining constraint. Every clause (verb, hash size, key type) carries information an agent needs.

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 a simple one-parameter tool this is close to sufficient, but it is a security-sensitive signing operation with no annotations and no output schema, so the description should say what the call yields (a signature, a receipt, an on-chain record) and whether the effect is persistent. Those gaps keep it at minimum-viable rather than complete.

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% and the single parameter is fully documented as a 64-character hex string. The description's '32-byte' framing is consistent with that (64 hex chars = 32 bytes) and adds a small amount of corroborating context, but nothing the schema does not already convey — the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (Sign), a specific resource (a 32-byte bilateral agreement hash), and the mechanism used (the agent's real Ed25519 private key). That level of detail lets an agent distinguish this cryptographic signing operation from the other nexus_* utilities (fee calculation, discovery, identity, orderbook) without opening any schema.

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?

There is no statement of when to invoke this tool, when not to, or what must happen beforehand — e.g. that the agreement hash must already exist or be negotiated bilaterally. Usage is only inferable from the required parameter, and no alternatives or prerequisites are named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.