Skip to main content
Glama

Finish a proof

finish_proof
Idempotent

Finishes a submitted proof once all of its screenshots are uploaded. Use it after every file is uploaded to the URLs its submission returned, with the same proofId. GitRanks then checks each file (type and size, metadata stripped) and answers state: checking; if they pass, the contributor sees the proof within a minute. Refused as missing, with the slots not uploaded yet, or as wrong_state when nothing was submitted or the files failed the check (the proof then needs a new submission).

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": {
      "proofId": "<proofId>"
    },
    "name": "finish_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
proofIdYesThe proof's proofId (24 hex characters), as its start answered it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that validation is asynchronous ('answers state: checking'), what is validated (file type and size, metadata stripped), the timing (contributor sees the proof within a minute), and the exact refusal modes (missing with unfilled slots, wrong_state needing a new submission). This is the kind of operational detail annotations cannot carry.

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-loads the action and precondition, then the mechanism and failure modes in a logical order with no filler. The final sentence is dense and packs several refusal states together, which slightly hurts scanability but not accuracy.

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?

No output schema exists, yet the description fully explains the return states (checking, missing, wrong_state) and their consequences, so an agent knows both what it will get back and how to react. Nothing needed to call this correctly is missing.

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?

With one parameter and 100% schema coverage, the schema already documents the format; the description adds the meaningful constraint that it must be the same proofId the submission returned. That is real added meaning, though brief.

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?

States a specific verb and resource ('Finishes a submitted proof') plus the precondition ('once all of its screenshots are uploaded'), which positions it clearly as the terminal step after submit_proof. An agent can distinguish it from start_proof/submit_proof without opening any schema.

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?

Gives concrete sequencing guidance: call it after every file is uploaded to the URLs the submission returned, using the same proofId. The failure text also implies when not to call it (before uploads are complete), though no sibling tool is named as an alternative path.

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.