Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PF2E_HOSTNoHTTP bind host. Default: 127.0.0.1127.0.0.1
PF2E_PORTNoHTTP bind port. Default: 80008000
PF2E_CACHENoCache path, or 'off' to disable. Default: ~/.cache/pf2e-mcp/responses.sqlite3~/.cache/pf2e-mcp/responses.sqlite3
PF2E_TIMEOUTNoHTTP timeout in seconds. Default: 3030
PF2E_AON_BASENoBase for relative URLs. Default: https://2e.aonprd.comhttps://2e.aonprd.com
PF2E_CACHE_TTLNoCache lifetime in seconds. Default: 8640086400
PF2E_TRANSPORTNoTransport mode: stdio or http. Default: stdiostdio
PF2E_USER_AGENTNoIdentifying User-Agent. Default: pf2e-mcp/0.1.0 (...)pf2e-mcp/0.1.0 (...)
PF2E_MAX_RETRIESNoAttempts for 429/5xx and transport errors. Default: 33
PF2E_AON_ENDPOINTNoSearch endpoint. Default: https://elasticsearch.aonprd.com/aon/_searchhttps://elasticsearch.aonprd.com/aon/_search

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Query Pathfinder 2e game data from Archives of Nethys (2e.aonprd.com).

  • search_content finds entries. Combine free text with filters: category, traits, level range, source book, rarity.

  • get_content reads one entry in full. Use a name (optionally with category), an AoN URL, or a stable document id such as "spell-119".

  • list_categories, list_sources, and list_traits discover valid filter values.

Results follow the Remaster: an entry the Remaster replaced is hidden in favour of its remastered version. Pass legacy=true to see the pre-remaster version. Content is read-only and fetched live; nothing is modified.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_contentA

Search Pathfinder 2e content. Returns a compact list with names, levels, traits, summaries, and Archives of Nethys URLs. Use get_content for full text.

get_contentA

Fetch one entry's full rules text by name, AoN URL, or document id.

get_creatureB

Fetch a creature or NPC statblock by name.

get_creature_statsA

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.

list_categoriesA

List every content category with its entry count. Use these values for the category filter on search_content and get_content.

list_sourcesA

List source books by entry count. Use a value in search_content's source filter.

list_traitsA

List traits by entry count. Use values in search_content's traits filter.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation3/5

get_creature is effectively a special case of get_content, and get_creature vs get_creature_stats target the same entity, so boundaries overlap. Descriptions do clarify the split (full text vs structured numeric data), but an agent must read carefully to pick correctly.

Naming Consistency5/5

Clean verb_noun convention throughout: search_content, get_content, get_creature, get_creature_stats, list_categories, list_sources, list_traits. Verbs map predictably to operation type (search/get/list).

Tool Count5/5

Seven tools is well-scoped for a read-only rules-reference server. Each tool has a clear role: retrieval, structured statblocks, and three facet-listing helpers for filters.

Completeness4/5

Coverage is strong for a lookup server: search, full text retrieval, structured creature stats, and discoverable filter facets. Minor gaps exist around bulk/browse operations (e.g. paging long result sets or level-range queries), but core reference workflows are covered.