Skip to main content
Glama

Proof Plan

plan_zkml_costs
Read-onlyIdempotent

Proof Plan estimates proving compute and onchain verification costs from your own measurements. It checks a per-job latency target and preserves model, input and verification-key hashes. It plans an integration; it does not generate or verify a zero-knowledge proof. No ZK proof generation or cryptographic verification. File hashing verifies bytes only; it is not proof of model correctness. Retrieve proof with fetch or read its example resource to obtain exact inputs. Parameters are processed remotely without application persistence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobsYesJobs
verifyMsYesVerification time (ms)
budgetUsdYesBudget (USD)
inputHashYesInput Hash (preserve source text; decimal amounts must stay strings)
modelHashYesModel Hash (preserve source text; decimal amounts must stay strings)
statementYesStatement (preserve source text; decimal amounts must stay strings)
proofBytesYesProof size (bytes)
gasPerVerifyYesGas per verification
gasPriceGweiYesGas Price Gwei
proveSecondsYesProving time (seconds)
nativePriceUsdYesNative token price (USD)
verifierVersionYesVerifier Version (preserve source text; decimal amounts must stay strings)
computeHourlyUsdYesProving compute (USD/hour)
latencySlaSecondsYesLatency target (seconds)
verificationKeyHashYesVerification Key Hash (preserve source text; decimal amounts must stay strings)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
reportYes
toolIdYes
versionYes
citationYes
revisionYes
processingYes
limitationsYes
evidenceStatusYes
officialReferencesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly, idempotent, and non-destructive annotations, the description adds meaningful behavioral detail: it preserves hashes, checks a latency SLA, treats file hashing as byte-only verification rather than proof of correctness, and states that parameters are processed remotely without application persistence. No contradiction with annotations exists.

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 front-loaded and generally economical, but it has redundancy: 'it does not generate or verify a zero-knowledge proof' is immediately restated as 'No ZK proof generation or cryptographic verification.' The remaining sentences each add distinct caveats or usage context.

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 the high complexity (15 required parameters) and the presence of an output schema, the description covers the essential call semantics, safety profile, input provenance, and limitations. It could mention failure behavior when the SLA/budget check fails, but that is a minor gap given the schema and output schema.

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?

Schema coverage is 100%, so the baseline is 3. The description adds useful semantic context by framing the numeric inputs as user measurements, tying the per-job latency target to the SLA field, and identifying model/input/verification-key hashes as preserved values; individual parameter formulas and units are still left mostly to the schema.

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 action and resource: it estimates proving compute and onchain verification costs from user-supplied measurements, checks a per-job latency target, and preserves hash inputs. It explicitly distinguishes itself from proof-generation tools by stating it does not generate or verify a zero-knowledge proof.

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?

It gives clear context for when to use the tool: when you have your own measurements and want an integration cost plan. It also names exclusions (no proof generation/verification) and points to fetch or the example resource for exact inputs, though it does not fully route among all siblings such as compare_compute_costs.

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