Skip to main content
Glama

Coinage

Save search

save_search
Idempotent

Save a search the person is waiting on. Requires scope account:write. Use it when a search found nothing they want, or whenever they say "tell me when one shows up". Location works like search_listings (zip, city, or lat and lng; the home ZIP when omitted). Optional maxPriceCents. Matching handles plurals and synonyms. A match shows up in get_pending_actions (iOS app users also get a push). The daily get_pending_actions check you already have, or set up once, will show it, so never create a separate check per search.

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": {
      "keywords": "<keywords>"
    },
    "name": "save_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude. Send with lng.
lngNoLongitude. Send with lat.
zipNo5-digit US ZIP code.
cityNoUS city, for example "Denver, CO".
keywordsYes1–3 item words, for example: couch, or kids bike.
radiusMetersNoRadius in meters. Default is about 25 miles. Maximum about 50 miles.
maxPriceCentsNoHighest asking price in integer US cents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent write, and the description adds real context beyond them: the required account:write scope, the notification delivery path (get_pending_actions, plus iOS push), and that matching tolerates plurals and synonyms. It does not say what the call returns (a saved-search id?) or how duplicate saves behave, which matters since there is no 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.

Conciseness4/5

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

Front-loaded with the purpose and trigger before details, and most sentences carry distinct information. The closing two sentences overlap noticeably, both explaining that the match surfaces through get_pending_actions, so one could be trimmed.

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 7-parameter write tool with no output schema, the description covers the essentials: when to call it, auth scope, location defaults, matching behavior, and how results reach the user. The main gap is return behavior and duplicate handling, which the agent cannot infer from annotations or schema alone.

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%, so the baseline is 3 and the schema already documents each field. The description adds one genuinely new fact — location resolution mirrors search_listings and defaults to the home ZIP when omitted — but says nothing about radiusMeters defaults or keyword formatting beyond restating "Optional maxPriceCents".

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 ("Save a search") plus the scope that distinguishes it ("the person is waiting on"), which separates it from search_listings (immediate results) and list_saved_searches (reviewing existing ones). An agent can route correctly 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 Guidelines5/5

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

Gives explicit triggers ("when a search found nothing they want" and "tell me when one shows up") and an explicit when-not: don't create a separate check per search, reuse the existing daily get_pending_actions check. Both the condition and the anti-pattern are named.

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