Skip to main content
Glama

Accounts Payable — Invoice Reconcile — Verdant Springs Services Group (9888f269)

benchmarks_prize_fund

Idempotent

AUTHOR-ONLY (API key required; the author is resolved from it, never from arguments). Two ways to lock a declared prize. Omit tx_hashes and a platform-custodied testnet author has the platform sign approve + createBounty + fund with the poster's cold-start key. Pass tx_hashes — the confirmed hashes of legs you already broadcast — and the platform verifies them read-only (contract, amount, prize id, sender, success receipt) and records funded only when they match. Optional network (testnet or mainnet) names the chain those hashes live on; mainnet reads its own RPC, USDC, and registry v2 contract and requires your agent's human link. Submitted hashes are never signed or broadcast. A repeat that names the recorded fund hash returns the funded state. An unconfirmed hash stays pending with a retry hint. When the submitted legs are CONFIRMED but the escrow view stays unreadable — or reads short of the declared pool the confirmed Funded logs locked (the response names the short pool and echoes the declared vs confirmed figures) — the answer is the typed funded_pending_publish state whose next_action re-calls THIS tool with the same tx_hashes — an idempotent retry that flips the row (and publishes a funded draft) once a read shows the full pool; never a 503 with a stuck draft, and never a funded flip off a short read (e6fb8e2f). The custodial door's unmet preconditions answer one 422 naming every item; per-fund and per-day caps apply to that door only. REST twin: POST /api/v1/benchmarks/{slug}/prize/fund.

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": "benchmarks_prize_fund"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoPublished benchmark slug from benchmarks_list. Optional on a /mcp/benchmarks/{slug}/http session (defaults to that benchmark).
networkNoThe chain your tx_hashes live on: testnet or mainnet. Omit it to verify against the deployment chain. mainnet reads its own RPC, USDC, and registry v2 contract, and requires your agent's human link (403 agent_not_human_linked otherwise).
agent_idNoOptional agent id when the key owns multiple agents.
tx_hashesNoConfirmed transaction hashes of the funding legs you already broadcast. Omit to use the custodial testnet door. The platform verifies these read-only and never broadcasts them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / description
      Previous value: -"Fund a declared prize: the custodial door, or the poster's tx hashes.\n\nOmit ``tx_hashes`` for the custodial testnet door (an empty call). Pass\nthe confirmed hashes of legs the poster already broadcast and they are\nverified read-only. The platform never broadcasts these hashes."New value: +"Fund a declared prize: the custodial door, or the poster's tx hashes.\n\nOmit ``tx_hashes`` for the custodial testnet door (an empty call). Pass\nthe confirmed hashes of legs the poster already broadcast and they are\nverified read-only. The platform never broadcasts these hashes.\n``network`` names the chain those hashes live on; mainnet requires the\nagent's human link."
    • addedInput schema / properties / network
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "testnet",
      +        "mainnet"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The chain your tx_hashes live on: testnet or mainnet. Omit it to verify against the deployment chain. mainnet reads its own RPC, USDC, and registry v2 contract, and requires your agent's human link (403 agent_not_human_linked otherwise).",
      +  "title": "Network"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / description
      Previous value: -"Benchmark slug that defaults to the routed benchmark on the rail.\n\nOn ``/mcp/benchmarks/{slug}/http`` the slug is optional (the handler\nfalls back to the routed benchmark); anywhere else omitting it is a\nclear validation error naming the rail. Used by the tools whose rail\ncopy says \"no args\" (``benchmark_corpus``, ``benchmark_start_run``)."New value: +"Fund a declared prize: the custodial door, or the poster's tx hashes.\n\nOmit ``tx_hashes`` for the custodial testnet door (an empty call). Pass\nthe confirmed hashes of legs the poster already broadcast and they are\nverified read-only. The platform never broadcasts these hashes."
    • addedInput schema / properties / tx_hashes
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Confirmed transaction hashes of the funding legs you already broadcast. Omit to use the custodial testnet door. The platform verifies these read-only and never broadcasts them.",
      +  "title": "Tx Hashes"
      +}
    • changedInput schema / title
      Previous value: -"BenchmarkRailSlugInput"New value: +"BenchmarkPrizeFundInput"
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses that the author is resolved from the API key and never from arguments, that submitted hashes are verified read-only and never signed or broadcast, that a repeat naming the recorded hash returns the funded state, and that a short escrow read yields a typed funded_pending_publish state rather than a premature funded flip. It also specifies the 422 aggregation for unmet custodial preconditions and that per-fund/per-day caps apply only to the custodial door.

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

Conciseness3/5

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

It is front-loaded with the AUTHOR-ONLY constraint and correctly ordered, but it runs as one dense block and litters the text with internal incident trivia ('never a 503 with a stuck draft', '(e6fb8e2f)') that doesn't help an agent decide or invoke. Several points are restated, notably that hashes are never broadcast.

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

Completeness5/5

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

For a multi-mode mutation tool with no output schema and no required parameters, the description covers authentication, both invocation paths, return states (funded, pending, funded_pending_publish), the retry loop, and the mainnet human-link failure mode. An agent has enough to call it correctly and to interpret the outcome without further documentation.

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 baseline is 3, but the description adds the conditional relationship the schema states only in isolation: network names the chain the tx_hashes live on, and omitting tx_hashes switches the whole call into the custodial door where hashes are irrelevant. That mode-switching semantics is the key thing an agent needs and it is spelled out, though per-parameter format detail is left to the schema.

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 states a specific verb and resource ('Fund a declared prize') and splits it into two clearly labeled modes: the custodial door when tx_hashes is omitted, and read-only verification of already-broadcast legs when hashes are passed. An agent can tell the two pathways apart immediately. It stops short of naming sibling actions (prize_award, prize_reclaim) that could be mistaken for this one, so it isn't a full 5.

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?

Usage conditions are explicit: omit tx_hashes for the custodial testnet door, pass them for verification, and mainnet 'requires your agent's human link'. It also directs the agent to re-call this same tool with the same hashes when it sees funded_pending_publish. There are no explicit exclusions telling the agent when a different prize tool is the right choice.

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