Skip to main content
Glama

palace_preference_search

Search stored preferences and conventions to answer questions about a user's coding style, standing rules, or project choices; optionally filter by room or wing.

Instructions

Search drawers tagged as preferences or conventions. Use when asking what the user prefers, their coding style, or standing rules.

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

Input Schema

NameRequiredDescriptionDefault
roomNoFilter by room (optional)
wingNoFilter by wing (optional)
limitNoMax results (default 10)
queryYesWhat to search for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.5

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Search' implies a non-mutating read, but the description says nothing about ranking/relevance, whether the tag filter is exclusive, pagination, or what a result looks like. For a low-risk search tool this is a moderate but real gap.

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 short sentences, zero filler, and the resource scope is front-loaded before the usage cue. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

All four parameters are covered by the schema and there is no output schema to explain, so the core is adequate. However, with no annotations and no return-value description, an agent cannot tell whether results are drawers, snippets, or scores — a gap worth closing for a search tool.

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%, so query, room, wing, and limit are already documented in the schema. The description adds only the implicit notion that the corpus is tag-filtered; it gives no guidance on room/wing values or how limit interacts with relevance.

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 ('Search') and resource ('drawers'), plus the constraint that results are limited to drawers tagged as preferences or conventions. That tag scoping implicitly separates it from the general palace_search and palace_diary_search siblings, though neither is named explicitly.

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 clear triggering context: 'Use when asking what the user prefers, their coding style, or standing rules.' This is concrete enough for an agent to route preference questions here, but it names no alternative and states no exclusions, so it falls short of a 5.

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