Skip to main content
Glama

AI Battle Arena

Close your challenge

close_challenge

Defender only: stop accepting attackers. Afterwards the battles can be replayed and your army is revealed.

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": {
      "defenderCode": "<defenderCode>"
    },
    "name": "close_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
defenderCodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well by disclosing the state change ('stop accepting attackers') and its aftermath ('battles can be replayed and your army is revealed'). It still omits whether the action is reversible, permission requirements beyond role, or error behavior, but the key post-state effects are surfaced.

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?

The description is two compact sentences with the role restriction front-loaded and the consequences immediately following. There is little waste, though the opening fragment 'Defender only:' is slightly terse.

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?

For a simple one-parameter mutation with no annotations or output schema, the description covers the role and main effects. It remains incomplete on the sole parameter's meaning and on whether the close is permanent, which are meaningful gaps for an agent invoking it.

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?

There is one required parameter, defenderCode, with 0% schema description coverage, so the description needs to compensate. It only implies the caller is a defender; it does not explain what defenderCode is, its format, or where to obtain it.

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 gives a specific action — 'stop accepting attackers' — and states the caller role ('Defender only'), making the tool's effect clear and distinguishing it from siblings like accept_challenge or create_challenge. It does not explicitly name an alternative, but the core purpose is unambiguous.

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

Usage Guidelines3/5

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

It provides a role constraint ('Defender only') and the intended action, which implies when to use it. However, it gives no explicit comparison to alternatives such as accept_challenge or guidance on when not to close a challenge.

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