Skip to main content
Glama

submit_flag

Submit one candidate flag for a GZCTF challenge; check submission status separately because a submission ID is not an Accepted verdict.

Instructions

Submit one candidate flag once. Query submission_status; an ID is not an Accepted verdict.

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": {
      "game_id": "<game_id>",
      "challenge_id": "<challenge_id>",
      "flag": "<flag>"
    },
    "name": "submit_flag"
  }
}

Input Schema

NameRequiredDescriptionDefault
flagYes
game_idYes
challenge_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, open-world behavior; the description adds the important caveat that a submission returns an ID that is not an acceptance verdict and must be checked separately. It does not mention rate limits, permissions, or what happens on duplicate submissions beyond 'once'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with no filler; the main action constraint is front-loaded, and the status-check warning follows immediately.

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?

The description covers the submission workflow and the crucial separation from status checking, but with 0% schema coverage and three required parameters it leaves game/challenge scoping and input constraints unexplained. Output schema exists, so return-value details are appropriately not repeated.

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 0%, so the description must explain the three required parameters. It only implies that 'flag' is the candidate flag; game_id and challenge_id are not explained at all, leaving key scoping parameters ambiguous.

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 the specific action (submit) and resource (one candidate flag), and distinguishes the submission operation from the separate status-check sibling by naming submission_status. The 'once' constraint and warning about an ID not being an Accepted verdict further specify the operation's purpose.

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?

Explicitly tells the agent to use submission_status for status rather than treating a submission ID as an Accepted verdict. It does not spell out prerequisites such as authentication or when not to submit, so it falls short of full alternatives/exclusions guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.