Skip to main content
Glama

submit_puzzle_batch

Handles the play_puzzle iframe callback by submitting a completed rated puzzle batch and updating the user's puzzle rating; requires puzzle:write OAuth scope.

Instructions

Internal callback for the play_puzzle iframe to submit a completed rated batch and update the user's puzzle rating. Not exposed to the model — see solve_puzzle_batch for the model-callable equivalent. Requires the puzzle:write OAuth scope.

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": {
      "angle": "<angle>",
      "solutions": "<solutions>"
    },
    "name": "submit_puzzle_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
angleYesThe theme/angle the batch was drawn from.
solutionsYesPer-puzzle results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, and the description is consistent with that, adding that the call mutates the user's puzzle rating and requires a specific OAuth scope. It stops short of describing failure modes or idempotency, but adds meaningful context beyond the annotations.

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?

Three short sentences, front-loaded with what the tool is, followed by the audience restriction, the alternative, and the auth requirement. No redundant or filler wording.

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?

There is no output schema, but the description clarifies that this is an internal iframe callback rather than a model-facing tool, plus its auth requirement and model-callable counterpart. For a two-parameter internal mutation endpoint, that is nearly everything an agent needs to avoid misusing it; only return/error behavior is unstated.

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

Parameters3/5

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

Schema description coverage is 100%, so the nested id/win/rated fields and the angle parameter are already fully documented in the schema. The description only alludes to a 'rated batch' and does not add format or semantic detail beyond the structured fields, making the baseline 3 appropriate.

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 gives a specific verb and resource ('submit a completed rated batch'), states the side effect ('update the user's puzzle rating'), and explicitly names the sibling it is distinct from ('see solve_puzzle_batch for the model-callable equivalent'). An agent can immediately tell what this tool does and that it is not the one to call.

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

Usage Guidelines5/5

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

Provides explicit negative guidance ('Not exposed to the model') and redirects to the correct alternative ('solve_puzzle_batch'). It also states the prerequisite ('Requires the puzzle:write OAuth scope'), so both routing and preconditions are covered.

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