Skip to main content
Glama

sell_resource

Sell food, water, or materials at the current sell price to convert game resources into currency.

Instructions

Sell food, water or materials at the current sell price.

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": {
      "quantity": "<quantity>",
      "resource": "<resource>"
    },
    "name": "sell_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
quantityYes
resourceYes

Output Schema

NameRequiredDescriptionDefault
okYes
codeNo
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already disclose this is a non-readonly, non-idempotent operation. The description adds one genuinely useful behavioral fact beyond them: the sale executes at the *current* sell price, so the caller does not control price and it varies over time. It does not state whether the sale is reversible, whether resources leave inventory, or what happens at quantity limits.

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?

One front-loaded sentence with no filler or redundancy. Its brevity is efficient rather than padded, though it borders on under-specification for a state-mutating tool.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. Still, for a destructive economic action, the definition omits the operational context an agent needs — when selling is appropriate, and what quantity means in practice.

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 description coverage is 0%, so the description must carry parameter meaning, and it largely does not. It restates the resource enum (food, water, materials) but says nothing about what quantity represents, whether it is a per-call maximum with a 1000 cap, or how partial failures are handled, leaving half the parameters explained only by raw schema types.

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 verb and resource set ("Sell food, water or materials"), which is concrete enough for an agent to know exactly what operation this performs. It does not differentiate itself from siblings such as collect_taxes or get_city_state, so it stops short of a 5.

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 or when-not-to-use guidance, no prerequisites, and no mention of checking the current price (which the description itself implies matters) before selling. An agent must infer entirely from the verb that this is the disposal/liquidation action.

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