Skip to main content
Glama
sylvanai-mcp
by Arwalk

Find NPC service

find_service
Read-onlyIdempotent

Locate the nearest friendly NPCs offering a chosen service—vendor, repair, flight master, trainer, innkeeper, banker, auctioneer, or stable master—in a WoW zone, sorted by distance.

Instructions

Nearest NPCs offering a service (QuestieDB): vendor, repair, flight_master, trainer, innkeeper, banker, auctioneer, stable_master. In a zone (default: the current map, else zone, from the combat log), friendly to the player's faction (basics snapshot of the character in the combat log; unfriendly counts the others), nearest first from near {x, y, source: log (map_pos, approx) or snapshot (zone x/y at the last /reload), age_s}, else by name. Each: id, name, subname, services, friendly (Alliance, Horde, both), coords of its nearest spawn (coords are map percent 0-100 like /way; absent inside dungeons) and dist in map percent (same zone only; the map is wider than tall). subname narrows by title: 'Warrior' for a class trainer, 'Gryphon' for a flight master. total: matches in the zone. None here: elsewhere lists other zones with one {zone, count} by name, elsewhere_total counts them all; pick the nearest yourself. 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

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": {
      "service": "<service>"
    },
    "name": "find_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneNoZone name; default: the current one from the log.
limitNo
serviceYesThe service wanted.
subnameNoText in the NPC's title, e.g. Warrior, Gryphon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, the description discloses the offline QuestieDB source, no network usage, coordinate format, absence of coordinates inside dungeons, sorting behavior, and the elsewhere fallback. This is rich behavioral context that materially helps invocation.

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 purpose is front-loaded, but the body is a dense semicolon-heavy block that is hard to parse. Most details are useful, but the unexplained name-matching sentence is noise and the overall text could be structured more clearly.

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?

For a complex geospatial lookup with no output schema, the description covers returned fields, sorting, coordinate conventions, dungeon limitations, and fallback elsewhere results. The main gaps are the unexplained limit parameter and the phantom name parameter.

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?

The description adds useful meaning for zone defaults, service options, and subname examples like 'Warrior' or 'Gryphon'. However, it omits any explanation of limit and introduces a 'Name: fuzzy...' instruction that corresponds to no parameter in the schema, creating confusion about how name matching is actually supplied.

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?

The description states a specific verb and resource: finding the nearest NPCs that offer a named service. It enumerates all supported services and scopes results by zone and faction, making it clearly distinguishable from general lookup siblings like lookup_npc.

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?

It gives clear context for when to use the tool: seeking the nearest service NPC of a given type in a zone, with subname narrowing. It also explains the fallback behavior when no matches exist in the current zone. It does not explicitly name alternatives or when not to use it.

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