Skip to main content
Glama

Search preferences

search_preferences
Read-only

Search the user's preferences and list items by words, tolerating typos, such as "films I've seen" or "The Godfather". This is how to find a preference's key before reading or changing it.

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

Input Schema

NameRequiredDescriptionDefault
limitNoresults of each kind, 20 when omitted and at most 50
queryYeswords to look for, such as films I've seen or top gun; typos are tolerated

Output Schema

NameRequiredDescriptionDefault
itemsYes
preferencesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is supplied. The description adds real value by explaining typo tolerance and that it returns keys usable by other tools, but it says nothing about result ordering, partial-match behavior, or what a match on a list item versus a preference key looks like. Given an output schema exists, that omission is tolerable but leaves the disclosure modest.

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, zero filler. The core action and its tolerance for typos come first, and the workflow positioning sentence follows — nothing to trim.

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 two-parameter, annotation-covered, output-schema-backed read tool this is close to sufficient: purpose, fuzzy matching, and its role in the key-resolution workflow are all covered. A little more on match scope (preference keys only vs. list items too) would make it fully self-contained.

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 100%: the query and limit parameters are already documented with examples, default (20) and cap (50). The description restates the typo-tolerance and example phrasing rather than adding syntax, quoting, or matching-semantics detail, so it neither compensates for nor extends the schema.

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?

States a specific verb and resource ("Search the user's preferences and list items") plus the distinguishing traits: fuzzy/typo-tolerant word matching, with concrete query examples. It is clearly the lookup tool rather than a read or write tool, so an agent can separate it from get_preferences/set_preferences 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"This is how to find a preference's key before reading or changing it" gives explicit workflow guidance: use this first to resolve a key, then use the read/update tools. It stops short of naming alternatives or stating when NOT to use it (e.g. when the key is already known), which keeps it out of 5 territory.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources