Skip to main content
Glama

Weight Class

Search Weight Class

search
Read-onlyIdempotent

Search restaurant menu items at 100 US chains (each chain's own published numbers), the chains themselves and USDA foods. Returns results with an id, a title and a page; pass an id to fetch for the full numbers.

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": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA dish, a chain or a food: "chick-fil-a grilled nuggets", "protein latte", "greek yogurt".

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine context beyond that: result granularity (id, title, page → summary-level only, full numbers require a second call) and the intended search-then-fetch chain. It does not mention result caps, ranking, or how many hits a page holds.

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, no filler. The scope statement comes first and the return/next-step contract second, which is the right order for an agent deciding whether to call it.

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-query search tool with an output schema and full annotation coverage, the description supplies what is structurally absent: the data domain and the follow-up call pattern. The only loose ends are pagination behavior ('a page' is mentioned but not explained) and any result-count limits.

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?

Only one parameter and schema coverage is 100%, with the schema itself supplying concrete query examples ('chick-fil-a grilled nuggets', 'protein latte'). The description does add domain scoping by naming the searchable universe (menu items, chains, USDA foods), which slightly informs what a valid query should look like. Baseline 3 is appropriate given the schema carries the example burden.

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 (search) and three concrete resource classes: restaurant menu items across 100 named US chains, the chains themselves, and USDA foods. The scope qualifier '(each chain's own published numbers)' further pins down what data is being searched, so an agent knows exactly what universe this covers.

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?

Clear two-step workflow is spelled out: search to get an id, then 'pass an id to fetch for the full numbers.' That explicitly routes the agent to the fetch sibling. It stops short of saying when NOT to use it or how it differs from the other similarly named search dishes/items/lookup siblings, so no exclusion guidance.

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