Skip to main content
Glama

query-nearby-stores

Read-only

Find nearby McDonald's stores by keyword and return storeCode, name, address, and beType for menu lookup, price calculation, or ordering.

Instructions

按关键词查附近门店,返回门店列表(storeCode、门店名、地址、beType)。点餐流程第一步:后续查菜单、试算、下单都要用这里的 storeCode 和 beType。只读。演示数据,虚构,不连麦当劳官方服务。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordNo地点或门店关键词,如“人民广场”;可省略,省略时返回默认门店

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / keyword / description
      Added value: +"地点或门店关键词,如“人民广场”;可省略,省略时返回默认门店"
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description reinforces that with 只读 while adding genuinely new disclosure: the data is demo/fictional and not connected to the official McDonald's service. It also flags the downstream dependency on storeCode and beType, which matters behaviorally. It does not cover pagination or result limits.

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?

Three short, front-loaded sentences with no filler: purpose and return fields first, workflow role second, safety/data caveat last. Efficient, though the disclaimer sentence is more housekeeping than operational guidance.

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?

For a single-optional-parameter read-only tool with no output schema, the description covers everything needed: what it returns, why the returned IDs matter downstream, and the demo-data caveat. Nothing an agent needs in order to call it correctly is missing.

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 100%, so the keyword parameter and its optionality are already fully documented in the schema. The description only restates that lookup is keyword-based, adding no syntax or example beyond what the schema provides; baseline 3 applies.

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 (按关键词查附近门店) and enumerates the returned fields (storeCode、门店名、地址、beType). It also names its position in the ordering flow, which clearly separates it from siblings like query-meals and calculate-price.

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?

Explicitly frames the tool as 点餐流程第一步 and states that subsequent steps (menu lookup, price calculation, ordering) consume the storeCode and beType returned here, giving strong workflow context. It does not, however, name a specific alternative or a when-not-to-use condition.

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