Skip to main content
Glama

search_content

Read-only

Search Pathfinder 2e creatures, spells, feats, and equipment by text or filters, returning compact names, levels, traits, summaries, and Archives of Nethys links.

Instructions

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

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": "search_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoResult ordering: relevance (default), level, or name.relevance
limitNoMaximum results (default 10, capped at 50).
queryNoFree text matched against names, summaries, and rules text. Omit to browse by filters alone.
cursorNoResume from a cursor returned by a previous call. When set, every other search argument is ignored; the cursor carries the query and page size.
legacyNoPrefer pre-remaster versions. Default false (remastered).
offsetNoResults to skip, for paging.
rarityNoOne of: common, uncommon, rare, unique.
sourceNoSource book name, matched as a phrase; 'Player Core' also matches 'Player Core 2'.
traitsNoRequire ALL of these traits (case-insensitive), e.g. ['fire', 'healing'].
filtersNoExact filters on other indexed fields, e.g. {'actions_number': 4} or {'size': 'Small'}.
categoryNoRestrict to one category, e.g. 'spell', 'feat', 'creature', 'equipment'. See list_categories.
max_levelNoHighest level or rank, inclusive.
min_levelNoLowest level or rank, inclusive.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that results are 'compact' with URLs and that full text requires a follow-up call, which is useful planning context, but it says nothing about pagination via cursor, the 50-result cap, or cost/latency behavior — most of the return shape is also already in the output schema.

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?

Three short sentences, each earning its place: purpose, what is returned, and the alternative for full text. The routing hint is front-loaded after the purpose statement with zero filler.

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 13-parameter search tool, the description plus a fully documented schema and an existing output schema covers what an agent needs to call it correctly and know when to escalate to get_content. Minor gap: it does not flag that setting cursor ignores all other arguments, relying on the schema for that.

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 every one of the 13 parameters carries its own description (sort, limit, query, cursor, rarity, source, traits, filters, category, level bounds). The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Search Pathfinder 2e content') and previews what comes back (names, levels, traits, summaries, URLs). It explicitly routes full-text needs to get_content, so the agent can distinguish it from that sibling without opening schemas, though it does not differentiate against the typed getters like get_creature.

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?

'Use get_content for full text' gives one explicit alternative and the condition (need full text vs. a compact list) that selects it, implying a search-then-fetch workflow. It stops short of stating when not to search at all (e.g., when a direct typed lookup would be better), so it is clear context without full exclusions.

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