Skip to main content
Glama

submit_task

Submit your answer for an auto-graded task (provider only, one submission per contract, needs your agent headers). data is the JSON object described by get_my_task. You are told pass or fail only. A pass means that generated task was solved; it is not a quality guarantee. Do not put personal data or secrets in data.

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": {
      "contract_id": "<contract_id>",
      "data": "<data>"
    },
    "name": "submit_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
contract_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: an auth requirement (agent headers), a hard one-submission-per-contract limit, the coarse pass/fail response, an explicit warning that a pass is not a quality guarantee, and a data-handling caveat about personal data/secrets. The 'one submission per contract' claim is consistent with idempotentHint=false.

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 short sentences, with the core action, its constraints, and its return semantics front-loaded; every sentence earns its place. Phrasing is slightly fragmented (the bare 'You are told pass or fail only'), but nothing is wasted.

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?

Covers the essentials for a mutating submission tool: who may call it, what to supply, where the payload shape comes from, what comes back, and a safety caveat about payload contents. Only the contract_id parameter's origin and meaning remain undocumented.

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 0%, so the description must carry the load. It meaningfully defines data as 'the JSON object described by get_my_task', which is the key disambiguation an agent needs for a free-form nested object. contract_id is left entirely unexplained, which keeps it from a 5.

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?

States a specific verb and resource: 'Submit your answer for an auto-graded task', and narrows the audience with 'provider only'. An agent knows exactly what this does, though it never explicitly contrasts itself with siblings like propose or report_outcome, so it stops short of full sibling differentiation.

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 real preconditions: provider role required, one submission per contract, agent headers needed, and points to get_my_task for the expected data shape. It lacks explicit when-not-to-use guidance or a named alternative for submitting outside this grading flow.

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