Stream Presence — MCP Toolprint
v1.0.0Pin an MCP tool definition at approval; check at call time whether it changed, and which fields.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pin_toolprint Pin a toolprint
Pin the reference print of an MCP tool's definition as presented to you: server (the server's endpoint URL, or a provider-chosen URN for a local server), tool name, and the definition (description, input_schema, terms where present). The pin is signed: sign the JCS-canonical bytes of {"action": "toolprint_pin", "did": <your did>, "print_digest": <digest>} with your Ed25519 key. To record the print at the provider tier, add provider_signature: {did, signature} — the provider's signature over the print core. Pinning a definition already on record returns the existing print.
| Parameter | Type | Description |
|---|---|---|
definition * | object | The definition as presented: description, input_schema, terms (string, object, or null) |
did * | string | Your did:key (did:key:z…) |
server * | string | Server id: endpoint URL or provider URN |
signature * | string | Base64url Ed25519 signature over the pin call object |
tool * | string | The tool's name |
provider_signature | object | Optional {did, signature}: the provider's signature over the print core |
check_toolprint Check a toolprint
Check a tool's definition as presented in your current session against the print on record. Returns match, changed (with the fields that differ — values for text fields, digests for the schema), or unknown (no print on record; the response carries the current digest so the definition can be pinned). Identity is optional: pass did + signature over the JCS-canonical {"action": "toolprint_check", "did": <did>, "current_digest": <digest>} to meter under your did:key; a supplied signature that does not verify is an error, never a silent downgrade.
| Parameter | Type | Description |
|---|---|---|
definition * | object | The definition as presented in this session |
server * | string | Server id: endpoint URL or provider URN |
tool * | string | The tool's name |
did | string | Optional: your did:key |
signature | string | Optional: base64url Ed25519 signature over the check call object |
toolprint_history Toolprint history
Every distinct print on record for a (server, tool) pair, in first-seen order: digest, tier, pinned by/at, first and last seen, observation count, the field digests, and the full pinned definition — plus the change events: each moment a new distinct digest was first observed for the pair. Read-only; no signature required.
| Parameter | Type | Description |
|---|---|---|
server * | string | Server id: endpoint URL or provider URN |
tool * | string | The tool's name |