Skip to main content
Glama

get_creature_stats

Read-only

Retrieve a Pathfinder 2e creature’s structured numeric statblock—AC, HP, saves, perception, modifiers, skills, senses, speeds, weaknesses, resistances, items, and spells—by name.

Instructions

Fetch a creature's numeric statblock as structured data: AC, HP, saves, perception, ability modifiers, skills, senses, languages, speed, weaknesses, resistances, items, and spells. Use get_creature for the full text.

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

Input Schema

NameRequiredDescriptionDefault
nameYesCreature or NPC name, e.g. 'Goblin Warrior'.
legacyNoPrefer the pre-remaster statblock.

Output Schema

NameRequiredDescriptionDefault
acNo
hpNo
idYes
pfsNo
urlNo
nameYes
sizeNo
typeNo
itemsNo
levelNo
savesNo
speedNo
legacyNo
rarityNo
sensesNo
skillsNo
sourceNo
spellsNo
traitsNo
summaryNo
categoryNocreature
abilitiesNo
languagesNo
immunitiesNo
perceptionNo
weaknessesNo
legacy_nameNo
resistancesNo
primary_sourceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety and external-lookup behavior are covered. The description adds the useful distinction that output is structured numeric data rather than prose, but says nothing about failure behavior (e.g., unknown creature name, missing legacy statblock) or how a partial statblock is represented.

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?

Two sentences, both load-bearing: the first defines output and scope, the second routes to the alternative sibling. Field enumeration is front-loaded and nothing is repeated.

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?

An output schema exists, so return shape need not be explained, and annotations cover the safety profile; the description correctly focuses on the structured-vs-text distinction and sibling routing. The only gap is unstated behavior around the legacy fallback, which is minor for a read-only lookup.

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 100% and both parameters carry their own descriptions, including the 'Goblin Warrior' example and the legacy default, so the schema does the heavy lifting. The description mentions none of the parameters and adds no meaning beyond them, which is the baseline-3 case.

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?

Names a specific verb and resource ("Fetch a creature's numeric statblock") and enumerates the exact fields returned (AC, HP, saves, perception, ability modifiers, skills, senses, languages, speed, weaknesses, resistances, items, spells). The closing clause explicitly separates it from get_creature, so an agent can pick between them without opening either schema.

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?

Gives a clear selection rule: use this for numeric stats, use get_creature for the full text. That is a real when-to-use/when-not pairing against a named sibling. It stops short of covering edge cases such as what to do when a pre-remaster statblock is unavailable via the legacy flag.

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