Skip to main content
Glama

Sell

sell

Sell an item to a shop in the room for half its value.

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": {
      "item": "<item>"
    },
    "name": "sell"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameNoInternal save name: leave it out (the current run is used)
itemYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The description adds useful behavior beyond the annotations by disclosing the payout rule ('half its value') and the location prerequisite ('to a shop in the room'). It does not say what happens on failure (no shop present, item unsellable, item not in inventory), whether the sale is irreversible, or where the proceeds go. There is a mild tension with destructiveHint=false since the item leaves the player's inventory, though 'sell' is a transfer rather than destruction, so this does not read as a true annotation contradiction.

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

Conciseness5/5

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

A single front-loaded sentence with zero filler; the verb, target, prerequisite, and payout are all packed into eleven words.

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 two-parameter command with annotations covering the safety profile and no output schema, this is roughly adequate. It is still missing preconditions and failure modes that matter for an agent deciding whether the call will succeed, and the item format is unspecified.

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?

With only 50% schema description coverage, the description needs to carry meaning for the undocumented 'item' parameter, but it only says 'an item' with no hint about accepted form (exact name, partial match, id) or what happens if it is ambiguous. The 'game' parameter is documented in the schema and the description adds nothing about the default run behavior.

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 concrete verb and resource (sell an item) plus the required context (a shop in the room) and the exact economics (half its value). This immediately distinguishes it from siblings like buy, drop, or appraise without needing to open the schema.

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?

Usage is implied by the prepositional phrase 'to a shop in the room', so an agent can infer the tool only applies when a shop is present. However, no explicit when-to-use/when-not guidance is given, and no alternative is named for cases where the player wants to dispose of an item without a shop (e.g., drop) or check worth before selling (e.g., appraise).

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