Skip to main content
Glama

get_flyer_items

Retrieves items from a specific flyer by flyer ID and postal code, with optional keyword filtering and a limit on results.

Instructions

List items in one flyer, optionally filtered by keyword.

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": {
      "flyer_id": "<flyer_id>",
      "postal_code": "<postal_code>"
    },
    "name": "get_flyer_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
localeNoen
flyer_idYes
postal_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden. 'List' implies a read, but nothing is said about pagination/limit behavior, default and maximum result counts, the required postal_code scoping, locale effects, or result ordering — all of which materially affect how an agent calls it.

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?

A single front-loaded sentence with no filler; the resource and the optional filter appear in the right order. It is concise to a fault, but nothing is wasted or buried.

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

Completeness2/5

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

For a tool with five parameters, two of them required, zero schema coverage, and no annotations or output schema, one sentence is not enough. An agent cannot tell how to scope results by postal code, how to page, or what locale changes, so the definition leaves real invocation decisions unresolved.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, so the description must compensate, and it only accounts for one ('keyword' maps to query). Nothing explains limit bounds, the en/fr locale enum, the flyer_id type, or why postal_code is mandatory and must match a postal-code pattern.

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 ('List items in one flyer') plus a filtering capability, so the core operation is unmistakable. However, it does nothing to distinguish this from plausible siblings such as search_items or get_item, leaving the agent to infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The only hint of usage is 'optionally filtered by keyword,' which implies the query parameter is optional. There is no statement of when to choose this tool over search_items, nor any mention of prerequisites despite flyer_id and postal_code being required.

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