Skip to main content
Glama

peck_set_identity

Sets up a verifiable on-chain identity by publishing a Bitcoin Schema profile, registering the handle with identity.peck.to, and obtaining a signed BRC-52 certificate for future proof.

Instructions

One-shot identity setup: publishes on-chain Bitcoin Schema profile (MAP type=profile), registers the handle in identity.peck.to, AND acquires a signed BRC-52 certificate from identity.peck.to (type=peck.to/identity/v1) via BRC-104 mutual-auth. Certificate is stored in the agent wallet; future verifiers can prove fields via proveCertificate.

Coordinates the three identity layers:

  1. On-chain profile-tx — canonical, self-signed by the agent key

  2. identity.peck.to registry — handle → identityKey cache

  3. BRC-52 cert — issuer vouches; wallet can prove on demand

Multiple issuers can issue certificates over the same handle; the verifier chooses who they trust. This tool calls identity.peck.to as the issuer. Paymail is OPTIONAL — only pass paymail if you have a real one (e.g. returned by identity.peck.to /v1/register). The tool will NOT synthesize a fake ${handle}@peck.to address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bioNoOptional short bio for profile.
avatarNoOptional avatar URL (UHRP or HTTPS).
handleYesLowercase a-z 0-9 . _ - (1-100 chars). Display handle and identity lookup key.
paymailNoOptional real paymail address (e.g. from identity.peck.to register response). Omit if you do not have a real paymail server bound to this handle.
entity_typeNo"agent" | "human" | "service". Default: agent.
display_nameYesShown in feeds and profiles.
agent_accountNoWhich fleet agent to set identity for. Default: "default".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden. It discloses the three coordinated layers, the issuer (identity.peck.to), the storage of the certificate in the agent wallet, and the explicit policy of not synthesizing fake paymail. This goes beyond a simple action statement and provides useful operational context.

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 relatively long but well-structured, front-loading the core 'one-shot' purpose and then breaking down the three layers in a numbered list. It is appropriately detailed for the tool's complexity, though some redundancy exists (e.g., paymail explanation repeated from schema).

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

Completeness4/5

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

Given no output schema and no annotations, the description adequately explains the process, the three layers, and the paymail constraint. However, it does not mention return values, potential side effects (e.g., on-chain fees), or error conditions, which would be valuable for a multi-step mutation tool. Still, it is substantially complete for an agent.

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%, so the baseline is 3. The description adds little beyond the schema: it reiterates the paymail caution and the handle's dual role, both already present in parameter descriptions. Thus it contributes no substantive semantic enhancement.

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 multi-step action: publishes on-chain profile, registers handle, and acquires a BRC-52 certificate. It clearly identifies the resource (identity setup across three layers) and distinguishes from simpler siblings by emphasizing the comprehensive 'One-shot' nature.

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

Usage Guidelines4/5

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

The description implicitly conveys when to use this tool: when the user needs the full three-layer identity setup at once. It also clarifies the paymail condition (only if real), giving context. However, it does not explicitly contrast with alternatives like peck_register_identity or peck_profile_tx, so it falls short of fully explicit when-not guidance.

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