Skip to main content
Glama

Submit a proof

submit_proof

Submits the outcome of a proof you hold: proved with the section for the pull request body (and screenshots), cannot_prove with why and a reply drafted for the pull request, or fix_broken with what failed. Use it once you have captured the behavior, or know you cannot. Without files it answers state review: the contributor checks it on gitranks.com. With files it answers one upload URL per screenshot, valid 30 minutes, and the proof waits until the uploads are finished. At most 3 submissions a day per pull request; a payload that breaks the rules is refused as invalid_proof with why.

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>",
      "outcome": "<outcome>",
      "summary": "<summary>"
    },
    "name": "submit_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNofix_broken: what you ran and what failed
filesNoproved only: the screenshots the section shows as ![caption](proof:<slot>)
replyNocannot_prove: a short reply for the pull request
outcomeYesproved: you saw it work; cannot_prove: you could not reach the behavior; fix_broken: the fix does not work
proofIdYesThe proof's proofId (24 hex characters), as its start answered it
sectionNoproved: the section as it goes into the pull request body
summaryYesone line for the contributor
redactionsNoWhat you removed from the captures, one line each, e.g. "2 IP addresses"

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 annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false), it discloses a per-pull-request rate limit of 3 submissions a day, 30-minute expiry on returned upload URLs, that the proof waits until uploads finish, and that rule-breaking payloads are refused as invalid_proof. It also distinguishes the no-files response (state review on gitranks.com) from the with-files response (one upload URL per screenshot) — exactly the behavioral detail the 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-loaded with the three outcomes, then usage timing, then response shapes and constraints — a sensible priority order with no filler. The sentences are dense and run long (the final sentence packs rate limit, expiry, waiting, and rejection into one breath), costing some readability.

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 an 8-parameter mutation with a nested files array and no output schema, the description supplies enough to call it correctly: mode selection, what each mode returns, upload lifetime, and failure signaling. It omits what happens after the uploads complete (e.g., whether a separate finish step is required) and says nothing about redactions handling.

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 per-parameter meaning is already documented, but the description adds value the schema cannot express: the conditional association of section/files to proved, reply/wording to cannot_prove, and note-style failure detail to fix_broken. It does not cover redactions or proofId format, leaving a small gap.

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 opens with a specific verb and resource ("Submits the outcome of a proof you hold") and then enumerates the three outcome modes (proved / cannot_prove / fix_broken), each with the payload it carries. That makes it clearly distinguishable from start_proof or finish_proof without inspecting 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?

"Use it once you have captured the behavior, or know you cannot" gives an explicit trigger condition, and the outcome-by-outcome breakdown tells the agent which mode to pick. It stops short of naming an alternative tool or stating when submission is premature, so no explicit when-not/alternative routing.

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.