Skip to main content
Glama
sylvanai-mcp
by Arwalk

Plan item farm

plan_farm
Read-onlyIdempotent

Finds where to farm a World of Warcraft item or goal, ranking NPC sources by spawn zone using drop chance, spawn count, and player-level fit.

Instructions

Where to farm an item (item: name or id; or goal_id: an item goal from list_goals, for its item and count): its NPC sources per spawn zone (QuestieDB), hostile to the player's faction, best score first: score = chance % x spawns in the zone (capped at 30) x fit. fit: 1 for a mob whose mid level is at or below the player's (basics snapshot), down to 0 at 5 levels above; x 0.25 for elites, rare elites and bosses. Unknown chances (most rows) score as the median known one of the item and have no chance key. Each spot: npc_id, name, level, rank, zone, spawns, chance, fit, score, coords (up to 3; coords are map percent 0-100 like /way). total: spots ranked; friendly: NPCs left out (friendly to the player's side). have: bags + bank at the last /reload (have_age_s; loot since is not counted: ask for a /reload), need: to the goal's count. session: the latest play session's kills of the item's sources from the combat log (pulls of the goal's or the playing character, since_ts; age_s: since its last event, large means an earlier session), expected drops at the known chance, no_chance: kills whose chance is unknown. have is the stock, not this session's loot: do not compare it with expected. note: what could not be read. Offline knowledge base: no network; links are for the user and are never fetched. Name: fuzzy (word prefixes, exact name first); digits: exact id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_farm"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemNoItem name or id; or give goal_id.
limitNo
goal_idNoAn item goal's id; or give item.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description layers substantial extra behavior on top: offline knowledge base with no network fetches, stderr-free return semantics, fuzzy vs exact id matching rules, and the caveat that unknown chances score as the item's median. It also pre-empts a likely agent error by warning that `have` is stock, not session loot, and must not be compared with `expected`.

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?

It is front-loaded and nearly every clause carries information, but it is delivered as a single dense block of shorthand ("score = chance % x spawns ... x fit") with heavy parenthetical nesting, which slows parsing. Structuring the return fields as a bulleted list would improve scannability without losing content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the return contract — and it does, enumerating each spot field (npc_id, name, level, rank, zone, spawns, chance, fit, score, coords), plus the total, friendly, have, need, session, and note sections. For a complex tool with nested derived data, this is complete enough to call and interpret correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds real meaning beyond the 67%-covered schema: `item` accepts a word-prefix fuzzy name (exact match first) or an exact numeric id, and `goal_id` is specifically an item goal from list_goals that supplies both item and count. The `limit` parameter is left unexplained in both description and schema, which is the one gap.

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 opening clause states a specific verb and resource ("Where to farm an item") and names the data source (QuestieDB), so an agent immediately knows this ranks NPC sources per spawn zone rather than looking up an item like find_item or lookup_item would. It stops short of naming a sibling to disambiguate against (e.g., recommend_zones), so it is clear but not maximally differentiated.

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 purpose statement and by the goal_id note that points at list_goals, giving an agent a reasonable entry condition. However there is no explicit when-to-use/when-not statement, no guidance on choosing item vs goal_id beyond "or give," and no pointer to alternatives when the item is not found.

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