Skip to main content
Glama

get_passport

Retrieve a signed cross-protocol agent passport containing identity, reputation, and MCP metadata for a specified Ethereum wallet address.

Instructions

Get a signed cross-protocol agent passport. Contains identity, stamp, reputation, A2A card, and MCP metadata — all Ed25519-signed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wallet_addressYesEthereum wallet address (0x...)

Implementation Reference

  • The 'get_passport' tool handler is implemented within the createMcpServer function in src/mcp-server.js. It calls generatePassport and returns the signed agent passport.
    // --- Tool: get_passport ---
    server.tool(
      'get_passport',
      'Get a signed cross-protocol agent passport. Contains identity, stamp, reputation, A2A card, and MCP metadata — all Ed25519-signed.',
      {
        wallet_address: z.string().describe('Ethereum wallet address (0x...)'),
      },
      async ({ wallet_address }) => {
        const passport = generatePassport(wallet_address);
        if (!passport) {
          return { content: [{ type: 'text', text: JSON.stringify({
            error: 'No active agent found for this wallet',
            trusted: false,
            message: 'This wallet has no AgentStamp identity. Register for free to get a verifiable passport.',
            register_url: 'https://agentstamp.org/register',
          }) }] };
        }
        return {
          content: [{ type: 'text', text: JSON.stringify(passport, null, 2) }],
        };
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vinaybhosle/agentstamp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server