Skip to main content
Glama

Search compendiums

compendium_search
Read-only

Search compendium entries by name substring with optional pack, document type, or item type filters; returns UUIDs for importing or free lookups.

Instructions

Finds compendium entries by name (case-insensitive substring), optionally in one pack, document type or item type. Returns UUIDs for compendium_import or get-free lookups.

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

Input Schema

NameRequiredDescriptionDefault
packNo
limitNo
queryNo
itemTypeNoe.g. weapon, cyberware, skill
documentTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the matching semantics (case-insensitive substring) and the return shape (UUIDs), but says nothing about ordering, what happens when limit is hit, or how partial matches rank.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the retrieval semantics and ending on return type; nothing is padded. The phrase "get-free lookups" is slightly garbled and costs a bit of clarity.

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 five-parameter, zero-required search tool with no output schema, stating that results are UUIDs and naming the consuming tools covers the essentials. The missing piece is limit/pagination behavior, which matters given the default of 50 results.

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 coverage is only 20% (only itemType is documented in-schema with examples). The description clarifies that pack, documentType and itemType act as optional narrowing filters, which is real value, but it leaves limit (default 50) and the empty-string query default unexplained, so it does not fully compensate for the coverage gap.

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?

"Finds compendium entries by name (case-insensitive substring)" gives a specific verb, resource and matching rule, and the optional scope qualifiers (pack, document type, item type) separate it from siblings like compendium_packs or compendium_import. An agent can tell what it retrieves without opening the schema.

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?

It hints at downstream use by saying results are UUIDs "for compendium_import or get-free lookups", which implies the search-then-import flow. However there is no explicit when-to-use vs when-not, and no guidance on choosing this over browsing packs or listing documents directly.

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