Skip to main content
Glama

Save price range

save_price_range

Save the limit your user gave you for this one item: it is their permission for you to close the deal alone inside it (selling: at lowest_price or more; buying: at highest_price or less), and for them only, so you remember it at your next check (you forget between chats). Selling: item_id of their listing + lowest_price (the least they accept). Buying: item_id of someone else's listing, or want_id of their want, + highest_price (the most they pay). Optional terms they accept: payment_methods (and payment_detail such as "Venmo"), trade_methods, handoff_time and handoff_place (a public place; no phone, email or home address). ONAA never negotiates and never acts on it: you do the offers, counters and accepts yourself (make_offer, respond_offer, deal_action), within it and your user's deal rules. Never shown to anyone else. Tell your user so in plain words (say_to_your_user), not "saved privately". Never guess a price: ask your user. If your app's own permission check refuses this call (ONAA does not), tell your user and ask them to say it in their own words, then try again.

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

Input Schema

NameRequiredDescriptionDefault
item_idNo
want_idNo
handoff_timeNo
lowest_priceNo
handoff_placeNo
highest_priceNo
trade_methodsNo
payment_detailNo
payment_methodsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare this is a non-read-only, non-destructive, non-idempotent local write. The description adds real behavior the annotations cannot: the record is an authorization scope for closing a deal, it is visible only to the user and never shown to others, it persists between chats while the agent otherwise forgets, and it carries recovery instructions if the app's own permission check refuses the call. That is substantial context beyond the annotation set.

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

Conciseness3/5

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

The purpose is front-loaded, but the body is a dense run-on with stray line breaks and stacked parentheticals that make the selling/buying branches harder to parse than they need to be. The closing instructions about wording a message to the user are useful but sit awkwardly in an otherwise rule-shaped description.

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

Completeness5/5

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

An output schema exists, so return values need no explanation, and the description fully covers the nine undocumented parameters, the persistence and privacy model, and the authorization meaning of the record. An agent has everything needed to decide between the selling and buying forms and to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With nine parameters and zero schema description coverage, the description carries the whole burden and does: item_id is distinguished by mode (their listing when selling, someone else's listing when buying), want_id replaces it for wants, lowest_price is the least they accept, highest_price the most they pay, and payment_methods, payment_detail, trade_methods, handoff_time and handoff_place are all explained, including the constraint that handoff_place be public with no phone, email or home address.

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?

The description gives a specific verb and resource: save the user's price limit for one item, and explicitly separates the selling case (item_id + lowest_price) from the buying case (item_id or want_id + highest_price). It is clearly a write/persist tool, but it never names the sibling it is not — price_ranges for reading or clear_price_range for removing — so an agent must infer the boundary from names alone.

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?

It states the situation precisely: record the limit the user gave you before you act on it, and it assigns the acting work to make_offer, respond_offer and deal_action, which is genuine routing guidance. It also tells the agent not to guess a price and to ask the user instead. It stops short of explicit when-not-to-use or delete-vs-save guidance relative to clear_price_range.

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.