Skip to main content
Glama

Shopping action

shopping_action

Change a shopping run with your user's words: update (target_quantity, unit_limit, clear_unit_limit, partial_ok), extend (keep looking 3 more days), or end (stop; its open offers are withdrawn).

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": {
      "shopping_id": "<shopping_id>"
    },
    "name": "shopping_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoupdate
partial_okNo
unit_limitNo
shopping_idYes
target_quantityNo
clear_unit_limitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior1/5

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

The annotations declare destructiveHint=false, but the description says the end action causes open offers to be withdrawn, which is a non-additive/removal side effect. That conflicts with the destructive-hint annotation, so the transparency score is 1 and the contradiction is flagged.

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?

The definition is a single front-loaded sentence with a compact action list and no filler. It is tightly organized, though the phrasing 'with your user's words' adds little precision.

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?

With six parameters, a mutation surface, and an output schema already present, the description covers the main action modes but omits routing guidance to siblings and detailed parameter semantics. It also leaves the destructive effect of 'end' in tension with the annotations.

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 0%, so the description must carry parameter meaning. It identifies which fields belong to update and clarifies extend/end semantics, but it does not explain the required shopping_id, nullable defaults, or how clear_unit_limit and partial_ok behave beyond their names.

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 states a specific verb ('Change') and resource ('a shopping run'), then enumerates the three action modes. It distinguishes update/extend/end internally, though it does not name sibling tools such as start_shopping or my_shopping.

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 explains what each action value does—update fields, extend by three days, end and withdraw offers—which gives implied when-to-use guidance among the modes. It does not say when to choose this tool over sibling tools like my_shopping or start_shopping, and gives no exclusions.

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.