Skip to main content
Glama

The Meal Plan Vault

Refresh store sale items

refresh_store_sale_items
Idempotent

Pull this week's sale items from the household's connected stores now (they also refresh daily). Without connection_id, every store that lists sale items is refreshed.

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

Input Schema

NameRequiredDescriptionDefault
connection_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false with destructiveHint=false and openWorldHint=true, which is a slightly non-obvious combination; the description resolves it by making clear this is a fetch-and-refresh operation, not a user-visible mutation. It also discloses the default blast radius (all stores) and the existence of an automatic daily refresh, so the agent knows a manual call may be redundant. No latency, rate-limit, or failure-mode information for what is clearly a network operation against external stores.

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, front-loaded with the action and with the fallback behavior immediately after. Every clause adds information; nothing is redundant with the title or schema.

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 single-optional-parameter tool with no output schema, the description covers what it does, where it applies, and what happens when the parameter is omitted. What remains unstated is whether a result is returned or how long a many-store refresh takes, which matters because openWorldHint=true implies external calls.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the full burden, and it does explain the one parameter's effect: connection_id narrows the refresh to one store, and its absence refreshes all qualifying stores. Semantic scoping is covered even though the UUID format and 'must be a connected store' constraint are left implicit.

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 uses a specific verb ('Pull ... now') against a specific resource ('this week's sale items from the household's connected stores'), so the action is unambiguous. It does not name any sibling (e.g. find_recipes_on_sale) to differentiate, but the resource scope alone separates it from list- or recipe-oriented siblings.

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 gives real context for when to call it: sale items already refresh daily, so a call is an on-demand pull. It also states the no-parameter case ('every store ... is refreshed'), which is effectively the default path. It stops short of explicit when-not guidance such as avoiding repeated refreshes for latency reasons.

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