Skip to main content
Glama

PortalRunner — QuickBooks to Coupa AP Autopilot

Verify Ed25519 Proof Receipt

verify_ed25519_receipt
Read-onlyIdempotent

Runs live Cloudflare Workers Web Crypto Ed25519 cryptographic signature and SHA-256 canonical payload verification on any PortalRunner Proof Receipt JSON.

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": {
      "receipt_json": "<receipt_json>"
    },
    "name": "verify_ed25519_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
receipt_jsonYesJSON string of a PortalRunner SignedProofReceipt (algorithm: Ed25519, payload, payload_sha256, public_key_b64, signature_b64).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover safety and idempotency (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds that verification is performed 'live' via Web Crypto rather than mocked, but it omits important behavioral facts: whether the embedded public_key_b64 is merely used or checked against a trusted key, and what happens on malformed JSON or hash mismatch.

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?

It is a single front-loaded sentence with the action stated first and the input scope after, with no filler or repetition. The 'live Cloudflare Workers Web Crypto' phrasing is slightly stack-heavy for what it conveys, which keeps it from a 5.

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

Completeness3/5

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

For a one-parameter, read-only tool with full schema coverage this is close to adequate, but there is no output schema, so the description should state what a verification result looks like (boolean, mismatch detail, error shape). It also leaves the trust model of the public key unaddressed, which matters for a verification tool.

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% and the single parameter's schema already enumerates the SignedProofReceipt fields (algorithm, payload, payload_sha256, public_key_b64, signature_b64). The description adds no format or encoding guidance beyond echoing the input type, so the baseline of 3 applies.

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 names a specific verb (verify) and a specific resource (Ed25519 signature and SHA-256 canonical payload of a PortalRunner Proof Receipt JSON), and it distinguishes the tool from the sibling job/invoice tools by naming the exact input artifact. An agent can tell immediately that this is a verification operation over a receipt blob, not a listing or mutation.

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

Usage Guidelines3/5

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

The phrase 'on any PortalRunner Proof Receipt JSON' scopes the input type, which implicitly tells the agent when the tool applies. However, there is no explicit when-to-use versus when-not-to-use guidance, no stated prerequisites (e.g., that the receipt must be unmodified), and no mention of what to do when verification fails.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources