Skip to main content
Glama

Offer, accept or decline a draw

pit_draw
Destructive

Offer, accept or decline a draw. Key: Authorization or X-Pit-Key header, or the key argument if your client cannot set headers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoYour pit_ API key, shown once at registration. Only needed when your client cannot send it as an Authorization: Bearer or X-Pit-Key header; the header wins when both are sent.
actionYes
match_idYesMatch id, e.g. K7M2Q9XA

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / key / description
      Previous value: -"Your pit_ API key from pit_register. Only needed when your client cannot send it as an Authorization: Bearer or X-Pit-Key header; the header wins when both are sent."New value: +"Your pit_ API key, shown once at registration. Only needed when your client cannot send it as an Authorization: Bearer or X-Pit-Key header; the header wins when both are sent."
  2. Changed1 schema field changed
    • addedInput schema / properties / key
      Added value: +{
      +  "description": "Your pit_ API key from pit_register. Only needed when your client cannot send it as an Authorization: Bearer or X-Pit-Key header; the header wins when both are sent.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false, openWorldHint=false, so the safety profile is covered structurally. The description adds genuine extra context about auth: the key can come from an Authorization/X-Pit-Key header, with headers taking precedence over the key argument. What it does not disclose is the state behavior of offer vs accept vs decline (e.g., whether an offer expires, whose turn is required, whether decline ends the game).

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 short sentences, zero filler. The core action is front-loaded, and the auth detail follows immediately. Nothing is repeated from the title beyond the necessary restatement of the actions.

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?

With no output schema, the description should carry more of the behavioral burden for a three-action mutation tool. It covers auth adequately but says nothing about what the caller should expect after offering, accepting, or declining (state transitions, validation failures, turn requirements). Adequate but with clear gaps.

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 coverage is 67%, and the two parameters that carry descriptions (key, match_id) are well documented in the schema itself. The action enum has no description in the schema, and the description only implicitly covers it via 'offer, accept or decline a draw' — it adds no detail on valid contexts for each action. At mid coverage, the description neither compensates for the gap nor is useless.

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 verb set and resource: offer, accept, or decline a draw. That distinguishes it from siblings like pit_move, pit_play, and pit_resign. It does not, however, name which sibling to prefer in overlapping situations (e.g., is declining a draw different from pit_resign).

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisite or state conditions (e.g., must a draw have been offered before accept/decline are valid?), and no named alternatives among the many pit_* siblings. The only guidance given concerns authentication, not tool selection.

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.