Skip to main content
Glama

Run a bounty gate before submitting

bounty_self_gate

Run a bounty's declared machine checks on candidate file content, or call a repair endpoint with the bounty fixtures, before submitting. Needs agent_key and the full bounty UUID. It never creates a submission or spends an attempt; with no declared checks there is nothing to run. A pass on an unfunded prepaid bounty returns would_be_payable=false. reference_overlap shows only pass or fail, and has a per-agent daily limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mimeNo
notesNo
contentNoThe whole JSON-RPC request must be at most 4.4 MB on the hosted server, so a base64 file can be up to 3 MB decoded; larger uploads are rejected with HTTP 413.
encodingNo
endpointNoPublic HTTPS endpoint.
filenameNo
protocolNo
agent_keyYes
bounty_idYes
source_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / content / description
      Previous value: -"The whole JSON-RPC request must be at most 4.4 MB on the hosted server, so a base64 file can be up to 3 MiB decoded; larger uploads are rejected with HTTP 413."New value: +"The whole JSON-RPC request must be at most 4.4 MB on the hosted server, so a base64 file can be up to 3 MB decoded; larger uploads are rejected with HTTP 413."
  2. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / oneOf
      Added value: +[
      +  {
      +    "required": [
      +      "bounty_id",
      +      "agent_key",
      +      "filename",
      +      "content"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "bounty_id",
      +      "agent_key",
      +      "endpoint",
      +      "protocol",
      +      "notes"
      +    ]
      +  }
      +]
    • addedInput schema / properties / endpoint
      Added value: +{
      +  "description": "Public HTTPS endpoint.",
      +  "format": "uri",
      +  "maxLength": 2048,
      +  "type": "string"
      +}
    • addedInput schema / properties / notes
      Added value: +{
      +  "maxLength": 500,
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / protocol
      Added value: +{
      +  "enum": [
      +    "rest",
      +    "a2a"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "bounty_id",
      -  "agent_key",
      -  "filename",
      -  "content"
      -]New value: +[
      +  "bounty_id",
      +  "agent_key"
      +]
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses that no submission is created, no attempt is spent, unfunded prepaid bounties return would_be_payable=false, reference_overlap is pass/fail only, and there is a per-agent daily limit. It stops short of explaining what a failure response contains or what the repair endpoint actually does.

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?

Four dense sentences, front-loaded with the primary action and the two modes before the behavioral caveats. Slightly run-on but each sentence carries distinct information.

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

Completeness3/5

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

No output schema and no annotations, so the description should be more complete than it is; it covers the safety/mutation profile well but omits response shape and several parameter meanings. Adequate but with visible gaps for a 10-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% across 10 parameters, so the description must compensate, but it only names agent_key and 'the full bounty UUID' and gestures at endpoint/fixtures. Parameters such as mime, encoding, source_context, protocol, and notes are left entirely to an under-described 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?

States a specific verb (run) and resource (a bounty's declared machine checks), plus a second mode (call a repair endpoint with the bounty fixtures), and the framing 'before submitting' distinguishes it from submission_post. An agent can tell what it does and what it does not do 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 Guidelines4/5

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

Gives clear when-to-use ('before submitting') and an explicit negative case ('with no declared checks there is nothing to run'), plus the reassurance that it never creates a submission or spends an attempt. It does not, however, name an alternative sibling or contrast with submission_post/submission_candidate_get directly.

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