Skip to main content
Glama

verify_receipt

Verify signed artifacts or receipts using explicit or embedded public keys to confirm authenticity without requiring accounts or API calls.

Instructions

Verify a single signed artifact or receipt using an explicit public key or any embedded public key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
artifact_jsonNoRaw JSON artifact string.
pathNoPath to a local JSON artifact file.
public_key_hexNoOptional Ed25519 public key hex (64 bytes as hex).

Implementation Reference

  • The handler implementation for the verify_receipt tool, which processes the artifact input and calls verifySingle.
    async (args) => {
      try {
        const artifact = readJsonInput(args.path, args.artifact_json);
        return textResult(verifySingle(artifact, args.public_key_hex || null));
      } catch (error) {
        return textResult({ ok: false, error: error.message });
      }
    }
  • server.js:194-200 (registration)
    Registration and schema definition for the verify_receipt tool.
    'verify_receipt',
    'Verify a single signed artifact or receipt using an explicit public key or any embedded public key.',
    {
      artifact_json: z.string().optional().describe('Raw JSON artifact string.'),
      path: z.string().optional().describe('Path to a local JSON artifact file.'),
      public_key_hex: z.string().optional().describe('Optional Ed25519 public key hex (64 bytes as hex).'),
    },

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/ScopeBlind/verify-mcp'

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