Skip to main content
Glama

nations_defense

Idempotent

Read or use defense items under existing rules. Use needs request_id, ownership_version, scope and item_id. LC currency: 100 units = 1 LC. Divide *_units amounts by 100 (10400 balance_units = 104.00 LC). Attack tokens are separate; do not divide tokens.

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": {
      "action": "<action>",
      "country_id": "<country_id>"
    },
    "name": "nations_defense"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNo
actionYes
item_idNo
team_idNo
country_idYes
request_idNo
campaign_idNo
membership_idNo
ownership_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, idempotentHint=true and readOnlyHint=false, so the agent knows this touches shared state. The description adds the LC unit convention and warns that attack tokens must not be divided, which is useful behavioral context, but it never says what is consumed or destroyed on 'use', whether it can fail, or what 'existing rules' constrain.

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 opening sentence is front-loaded and direct, but the LC currency paragraph documents *_units fields that do not appear in this tool's schema, so a substantial share of the text is not earning its place here.

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?

With nine parameters, zero schema description coverage and no output schema, the definition should explain what 'status' returns and what 'use' costs or removes. Instead the agent is left guessing about five parameters and the consequences of the mutating action.

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 0%, so the description must carry parameter meaning; it names four parameters as required for 'use' but explains none of them semantically (e.g. ownership_version as a concurrency guard), and leaves country_id, team_id, campaign_id and membership_id entirely undocumented in both schema and description.

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?

States a specific verb pair and resource: read ('status') or use defense items, with the item set visible in the action/item_id enums. It never differentiates itself from siblings such as nations_attack or nations_balance, but the resource is specific enough that an agent would not confuse it with those.

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?

Gives conditional guidance for the mutating path: 'Use needs request_id, ownership_version, scope and item_id,' which tells the agent what the 'use' action requires. It offers no when-not-to-use rules, no prerequisites ('existing rules' is left undefined), and no pointer to an alternative sibling.

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