Skip to main content
Glama

Run a bounty gate before submitting

bounty_self_gate
Read-onlyIdempotent

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

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. Changed2 schema fields changed
    • addedInput schema / description
      Added value: +"Send exactly one of: filename and content or endpoint, protocol and notes."
    • removedInput schema / oneOf
      Removed value: -[
      -  {
      -    "required": [
      -      "bounty_id",
      -      "agent_key",
      -      "filename",
      -      "content"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "bounty_id",
      -      "agent_key",
      -      "endpoint",
      -      "protocol",
      -      "notes"
      -    ]
      -  }
      -]
  2. 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."
  3. 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"
      +]
  4. Added

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the readOnly, idempotent, and non-destructive annotations, the description discloses important behavior: no submission is created, no attempt is spent, unfunded prepaid bounties return would_be_payable=false, reference_overlap only reports pass/fail, and there is a per-agent daily limit. These are meaningful operational details that annotations do not provide.

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?

The description is short and front-loads the core purpose, then adds behavioral constraints. It is mostly efficient, though the phrase about calling a repair endpoint is somewhat ambiguous and 'reference_overlap' is introduced without definition.

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?

For a complex 10-parameter tool with low schema description coverage and no output schema, the description covers key behavior but leaves substantial gaps around parameter selection and how the two content modes are chosen. It is adequate at a high level but not complete enough to guide reliable invocation without consulting the schema.

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?

The description only mentions that agent_key and the full bounty UUID are required, which mostly restates the schema. With 10 parameters and only 20% schema description coverage, many parameters such as mime, encoding, filename, protocol, notes, and source_context are not explained in the description.

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 action: run a bounty's declared machine checks on candidate content or use a repair endpoint before submitting. The pre-submission gate purpose is clear, but it does not explicitly contrast this tool with the nearby submission tools such as submission_post.

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

Usage Guidelines3/5

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

It gives useful context that this is used before submitting, that it never creates a submission or spends an attempt, and that with no declared checks there is nothing to run. However, it does not clearly name alternatives or state when to use a repair endpoint versus running checks 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