Skip to main content
Glama

[ethereum] Forecast card: 4 questions

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, 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 the escrow reads; never a 503 with a stuck draft (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. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=true. The description adds genuinely new behavioral facts: submitted hashes are never signed or broadcast, a repeat naming the recorded fund hash returns the funded state, unconfirmed hashes stay pending with a retry hint, and the custodial door returns a single 422 enumerating all unmet preconditions. That is strong disclosure, but the description also partly restates idempotency already covered by the annotation and leans on internal incident jargon ('e6fb8e2f', 'funded_pending_publish'), keeping it below the top of the scale.

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?

Front-loaded with the author-only constraint and the two-mode split before the edge cases, and nearly every sentence conveys a distinct behavior. It is nonetheless overloaded at the tail — a commit hash reference, a typed state name, and the REST twin endpoint are dense and slightly harder to parse than needed.

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?

There is no output schema, so the description carries the return-value burden and does: funded state, pending-with-retry-hint, and the funded_pending_publish state with an explicit next_action to re-call with the same hashes. Combined with the auth model and caps note, an agent has enough to invoke and recover correctly.

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% and the property descriptions already explain slug, network, agent_id and tx_hashes. The description still adds interpretive value by framing the omit case as 'an empty call', tying network to where the hashes live, and explaining the mainnet human-link requirement in behavioral terms rather than just a constraint.

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?

Names a specific verb+resource (fund a declared prize) and immediately splits it into two distinguishable modes: custodial signing versus read-only verification of already-broadcast tx_hashes. An agent can tell this apart from siblings like benchmarks_prize_award or benchmarks_prize_attach without opening the schema.

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

Usage Guidelines5/5

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

Explicit selection rule: 'Omit tx_hashes and ... the platform signs ... Pass tx_hashes ... and the platform verifies them read-only.' It also states the precondition for the mainnet path (agent's human link / 403 agent_not_human_linked) and that caps apply to the custodial door only, so the agent knows when each branch is viable.

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