Skip to main content
Glama

decline_challenge

Destructive

Declines a pending Lichess challenge by its challenge ID after explicit confirmation, preventing unwanted games from starting.

Instructions

Decline a challenge.

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": {
      "challenge_id": "<challenge_id>",
      "confirm": "<confirm>"
    },
    "name": "decline_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesExplicitly confirm this action
challenge_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false, and readOnlyHint=false, so the description's silence is partly covered. However, for a destructive action it says nothing about consequences — whether the decline is final, whether the challenge disappears, or whether the challenger is notified — which is exactly the context annotations cannot carry.

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

Conciseness3/5

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

The single sentence is front-loaded and wastes no words, but its brevity comes from omission rather than efficiency. There is no structure to speak of beyond a bare verb phrase.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent mutation with no output schema and half-documented parameters, the description is far too thin. An agent cannot tell what happens after declining, whether the action is reversible, or what the confirm flag protects against.

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 coverage is only 50%: 'confirm' has a description while 'challenge_id' has just a pattern with no explanation. The description supplies no parameter meaning at all, so the undocumented challenge_id format and source are left to the agent to guess.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Decline a challenge.' restates the tool name verbatim and adds no scope, object type, or distinguishing detail. It does not tell the agent how this differs from the closely related accept_challenge or list_challenges siblings.

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 when-to-use guidance, no prerequisites, and no mention of the obvious alternative (accept_challenge) or when declining is appropriate versus ignoring. The only signal is the verb's polarity, which the agent must infer.

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