Skip to main content
Glama

mt_create_interaction_proof

Create a tamper-proof interaction proof anchored on Base L2 before issuing a SkillEndorsementCredential, providing verifiable evidence for agent-to-agent interactions.

Instructions

Create an interaction proof before issuing a SkillEndorsementCredential.

Returns evidence_hash and base_tx_hash anchored on Base L2. Required before calling mt_endorse_agent. Valid for 72 hours.

Args: api_key: MolTrust API key of the agent creating the proof agent_a: DID of the first agent in the interaction agent_b: DID of the second agent in the interaction interaction_type: Type of interaction (e.g. skill_verification, purchase, prediction) outcome: Outcome of the interaction: success or failure

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": {
      "api_key": "<api_key>",
      "agent_a": "<agent_a>",
      "agent_b": "<agent_b>"
    },
    "name": "mt_create_interaction_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_aYesDID of the first agent in the interaction
agent_bYesDID of the second agent in the interaction
api_keyYesMolTrust API key of the agent creating the proof
outcomeNoOutcome of the interaction: success or failuresuccess
interaction_typeNoType of interaction (e.g. skill_verification, purchase, prediction)skill_verification

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.3.1
    • addedInput schema / properties / agent_a / description
      Added value: +"DID of the first agent in the interaction"
    • addedInput schema / properties / agent_b / description
      Added value: +"DID of the second agent in the interaction"
    • addedInput schema / properties / api_key / description
      Added value: +"MolTrust API key of the agent creating the proof"
    • addedInput schema / properties / interaction_type / description
      Added value: +"Type of interaction (e.g. skill_verification, purchase, prediction)"
    • addedInput schema / properties / outcome / description
      Added value: +"Outcome of the interaction: success or failure"
  2. First observedv1.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-idempotent mutation. Beyond that, the description adds real behavior: the proof is anchored on Base L2, returns specific hashes, and expires after 72 hours. It stops short of covering failure modes or what happens on duplicate calls, which keeps it from a 5.

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

Conciseness3/5

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

The opening sentences are well front-loaded, with dependency and validity surfaced immediately. However, the five-line Args block duplicates schema descriptions word-for-word ('DID of the first agent in the interaction'), which is pure redundancy given full schema coverage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a moderately complex mutation tool with an output schema, the description supplies everything an agent needs to call it correctly: the prerequisite chain, the lifetime of the result, and confirmation of what is returned. Nothing essential is missing.

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 every parameter is already documented, and the Args section repeats the schema text nearly verbatim without adding constraints, formats, or examples. Baseline 3 applies since the schema does all the semantic work.

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 states a specific verb and resource ('Create an interaction proof') and ties it to a concrete downstream artifact (SkillEndorsementCredential) and sibling (mt_endorse_agent). An agent can tell exactly what this tool produces without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the prerequisite ordering: it must be created before issuing a SkillEndorsementCredential and is 'Required before calling mt_endorse_agent.' That is when-to-use guidance with an unambiguous trigger and named alternative.

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