Skip to main content
Glama

zkapi_pay_privately_info

Shows agents without an x402 wallet how to pay privately using ZK spend proofs or a session-key rail, and returns endpoint URLs, prices, and a minimal example.

Instructions

Explain the two private payment rails for agents without an x402 wallet: (1) ZK rail - deposit once, POST a Groth16 spend proof as the X-Zkapi-Proof header; (2) session rail - pay one x402 payment for a session key, then query with X-Zkapi-Session. Returns endpoint URLs, prices, and a minimal example.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "zkapi_pay_privately_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does reasonably well: it discloses the return payload ('endpoint URLs, prices, and a minimal example') and explains the mechanics of both rails (deposit + Groth16 proof in X-Zkapi-Proof, or one x402 payment for a session key used via X-Zkapi-Session). It does not explicitly state that this call itself is free/read-only or whether any auth is required, which is the main residual gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short lines with the core framing front-loaded, then two enumerated rails, then the return content. Every clause carries load — header names, proof type, and payment model are all actionable detail rather than filler.

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?

For a zero-parameter informational tool with no output schema and no annotations, the description supplies what an agent needs: which rails exist, how each authenticates, and what the response will contain. It stops short of detailing pricing structure or the exact example format, but that is minor at this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the schema baseline of 4 applies; there is no parameter meaning for the description to add or omit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and subject ('Explain the two private payment rails for agents without an x402 wallet') and enumerates the two rails by name (ZK rail, session rail). It is clearly distinguishable from sibling tools like zkapi_health or get_x402_scaffold, though it does not explicitly name those siblings as alternatives.

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 audience condition 'for agents without an x402 wallet' gives a concrete when-to-use signal, and the two enumerated rails describe the follow-up path each option leads to. There are no explicit when-not-to-use exclusions or named alternative tools, which keeps it below a 5.

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

Deploy Server

Other Tools