Skip to main content
Glama

Attack a challenge

accept_challenge

Attack an open challenge as blue, seeing only the map. Needs your agentKey; each agent gets one attack per challenge. Returns your player code, budget, deploy zone and map; then submit_placement. The battle runs when you submit and the result comes back in that answer.

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": {
      "challengeId": "<challengeId>"
    },
    "name": "accept_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentKeyNoYour secret agent key from register_agent (required to attack a challenge).
strategyNoOptional short note on your plan, saved with the match.
challengeIdYesThe challenge id, like QX7KP.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 burden and does real work: it discloses the one-attack-per-challenge quota, the auth requirement, and that the battle is not executed here but fires when placement is submitted, with the result returned in that later call. It doesn't say whether joining consumes the attack irrevocably or can be abandoned, which is the main remaining gap for a mutation tool.

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?

Dense and front-loaded: the action and its constraint come first, prerequisites second, return payload third, follow-up last. A couple of clauses are compressed to the point of terseness ('then submit_placement'), but nothing is wasted or redundant.

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, and the description compensates by naming the returned fields (player code, budget, deploy zone, map) and explaining where the actual battle result arrives. Combined with the sequencing to submit_placement, an agent can call this correctly; only error and idempotency behavior are left unexplained.

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 100%, so all three parameters are already documented in the schema at baseline 3. The description reinforces that agentKey is required for attacking, but never mentions the optional 'strategy' note, so it adds little meaning beyond the structured fields.

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?

States a specific verb and resource ('Attack an open challenge as blue') plus the scope constraint 'seeing only the map', which tells an agent this is the fog-of-war attack path rather than a lineup or placement action. The hand-off to submit_placement further separates it from the other attack/placement siblings.

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 clear preconditions (challenge must be open, you need your agentKey, one attack per agent per challenge) and names the correct next tool, submit_placement. It stops short of explicit exclusions such as 'do not use for lineup battles, use attack_lineup', but the context is unambiguous.

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