Skip to main content
Glama

Agent-to-Agent Handoff Pack

wever_agent-to-agent-handoff-pack
Destructive

Paid URL: 0.10 USDC per call on Base; 10 signed-wallet free calls shared over rolling 30 days. Read the backend 402 body for x402 terms. Build and verify durable signed task handoff packs with authenticated sender, recipient, context, declared permissions and checkpoint state. Operating boundary: Build and verify durable signed task handoff packs with authenticated sender, recipient, context, declared permissions and checkpoint state. Fresh signed wallet proof is required even for paid calls. Handoff permissions require recipient enforcement. Stored evidence is not automatically verified. Scores are bounded evidence summaries, not global reputation. POST /api/agent-to-agent-handoff-pack. Existing product credentials, signed mandates, and single-use action grants remain required where applicable. This adapter grants no authority and never supplies server credentials. Wallet-authenticated durable trust service. Signed records attest only to the stated evidence and permission scope. See /api/trust-contract for the public verification key and bounded contract.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
taskNo
stateNo
usageNo
permissionsNo
handoff_packNo
idempotency_keyNo
recipient_walletNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +false
    • removedInput schema / description
      Removed value: -"The existing product POST body. Supply its documented mode, arguments, and required signed authority or grant. The product validates its full contract."
    • removedInput schema / maxProperties
      Removed value: -64
    • removedInput schema / minProperties
      Removed value: -1
    • addedInput schema / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "idempotency_key": {
      +        "pattern": "^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])",
      +        "type": "string"
      +      },
      +      "mode": {
      +        "const": "build"
      +      },
      +      "permissions": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "allowed_actions": {
      +            "items": {
      +              "maxLength": 160,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "maxItems": 16,
      +            "type": "array",
      +            "uniqueItems": true
      +          },
      +          "expires_at": {
      +            "maximum": 4102444800,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "may_redelegate": {
      +            "const": false
      +          },
      +          "resources": {
      +            "items": {
      +              "maxLength": 512,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "maxItems": 16,
      +            "type": "array",
      +            "uniqueItems": true
      +          }
      +        },
      +        "required": [
      +          "allowed_actions",
      +          "resources",
      +          "expires_at",
      +          "may_redelegate"
      +        ],
      +        "type": "object"
      +      },
      +      "recipient_wallet": {
      +        "pattern": "^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])",
      +        "type": "string"
      +      },
      +      "state": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "checkpoint": {
      +            "maxLength": 4000,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "evidence_sha256": {
      +            "items": {
      +              "pattern": "^[a-f0-9]{64}(?![\\s\\S])",
      +              "type": "string"
      +            },
      +            "maxItems": 16,
      +            "type": "array",
      +            "uniqueItems": true
      +          },
      +          "status": {
      +            "enum": [
      +              "pending",
      +              "in_progress",
      +              "blocked",
      +              "completed"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "status",
      +          "checkpoint",
      +          "evidence_sha256"
      +        ],
      +        "type": "object"
      +      },
      +      "task": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "context": {
      +            "maxLength": 4000,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "objective": {
      +            "maxLength": 2000,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "task_id": {
      +            "pattern": "^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "task_id",
      +          "objective",
      +          "context"
      +        ],
      +        "type": "object"
      +      },
      +      "usage": {
      +        "enum": [
      +          "synthetic",
      +          "operational"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "idempotency_key",
      +      "recipient_wallet",
      +      "task",
      +      "permissions",
      +      "state",
      +      "usage"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "handoff_pack": {
      +        "maxLength": 24000,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "mode": {
      +        "const": "verify"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "handoff_pack"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / handoff_pack
      Added value: +{
      +  "maxLength": 24000,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "pattern": "^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])",
      +  "type": "string"
      +}
    • addedInput schema / properties / mode / enum
      Added value: +[
      +  "build",
      +  "verify"
      +]
    • removedInput schema / properties / mode / maxLength
      Removed value: -128
    • removedInput schema / properties / mode / minLength
      Removed value: -1
    • removedInput schema / properties / mode / type
      Removed value: -"string"
    • addedInput schema / properties / permissions
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "allowed_actions": {
      +      "items": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "maxItems": 16,
      +      "type": "array",
      +      "uniqueItems": true
      +    },
      +    "expires_at": {
      +      "maximum": 4102444800,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "may_redelegate": {
      +      "const": false
      +    },
      +    "resources": {
      +      "items": {
      +        "maxLength": 512,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "maxItems": 16,
      +      "type": "array",
      +      "uniqueItems": true
      +    }
      +  },
      +  "required": [
      +    "allowed_actions",
      +    "resources",
      +    "expires_at",
      +    "may_redelegate"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / recipient_wallet
      Added value: +{
      +  "pattern": "^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])",
      +  "type": "string"
      +}
    • addedInput schema / properties / state
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "checkpoint": {
      +      "maxLength": 4000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "evidence_sha256": {
      +      "items": {
      +        "pattern": "^[a-f0-9]{64}(?![\\s\\S])",
      +        "type": "string"
      +      },
      +      "maxItems": 16,
      +      "type": "array",
      +      "uniqueItems": true
      +    },
      +    "status": {
      +      "enum": [
      +        "pending",
      +        "in_progress",
      +        "blocked",
      +        "completed"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "checkpoint",
      +    "evidence_sha256"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / task
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "context": {
      +      "maxLength": 4000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "objective": {
      +      "maxLength": 2000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "task_id": {
      +      "pattern": "^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "task_id",
      +    "objective",
      +    "context"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / usage
      Added value: +{
      +  "enum": [
      +    "synthetic",
      +    "operational"
      +  ]
      +}
    • addedInput schema / required
      Added value: +[
      +  "mode"
      +]
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false and openWorldHint=true, consistent with a signed-pack mutation tool. The description adds real value beyond them ('Fresh signed wallet proof is required even for paid calls', 'Handoff permissions require recipient enforcement', 'Stored evidence is not automatically verified'), but it also carries off-topic boilerplate ('Scores are bounded evidence summaries, not global reputation') that appears copy-pasted from a scorecard sibling and dilutes the disclosure.

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

Conciseness2/5

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

The core sentence 'Build and verify durable signed task handoff packs with authenticated sender, recipient, context, declared permissions and checkpoint state' is repeated nearly verbatim as the 'Operating boundary', wasting a full sentence. Pricing is correctly front-loaded, but the paragraph mixes payment terms, boundaries, endpoint routing and unrelated reputation language without clear ordering.

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 complex, 8-parameter, dual-mode tool with no output schema, the description does cover the build/verify split, permission enforcement and evidence-limits semantics. It still omits expected return shape (a signed pack in build, a verdict in verify) and the meaning of several inputs, so it is only partially sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters with nested objects and enums, so the description must carry the load. It names sender, recipient, context, permissions and checkpoint state, mapping loosely to recipient_wallet, task.context, permissions and state.checkpoint, but never explains mode, idempotency_key, usage, or the evidence_sha256 array semantics, leaving most parameters undocumented in both places.

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 pair and resource: 'Build and verify durable signed task handoff packs with authenticated sender, recipient, context, declared permissions and checkpoint state.' An agent can tell this constructs/validates a signed handoff artifact rather than a work order or ledger entry. It does not name or contrast any of the 27 sibling rail/ledger tools, so the differentiation work is left to the agent.

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 two modes (build vs verify) are implied by the schema consts and the mention of 'Build and verify', and prerequisites are hinted ('Existing product credentials, signed mandates, and single-use action grants remain required where applicable'). However there is no explicit when-to-use-this-vs-alternative guidance, which matters sharply given the crowded sibling set of similar-sounding rails.

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.