Skip to main content
Glama

Weight Class

List restaurants

list_restaurants
Read-onlyIdempotent

The US restaurant chains Weight Class has menus for, with how many items each and the guide they come from. Each chain's numbers are its own published nutrition information.

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

Input Schema

NameRequiredDescriptionDefault
queryNoPart of a chain name, e.g. "chick" or "starbucks". Leave out to list all.

Output Schema

NameRequiredDescriptionDefault
restaurantsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/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 safety is covered. The description adds genuine provenance context — each chain's numbers are its own published nutrition information, and scope is limited to US chains — which is useful behavioral framing, though it says nothing about ordering, pagination, or result size.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no padding, but the opening clause ("The US restaurant chains Weight Class has menus for") is convoluted and buries the subject. A single clear sentence stating that it lists chains with item counts and source guide would be tighter.

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 an output schema present, return values need not be described, and annotations cover safety, so the essentials for a one-parameter list tool are largely there. What is missing is the routing information an agent needs among five siblings and any indication of result ordering or size.

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% and the single query parameter already explains partial-name matching with an example and the omit-to-list-all behavior. The description adds no further meaning about the parameter, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource ("US restaurant chains") and what accompanies each entry (item counts and the guide it comes from), but it is a noun phrase rather than a verb-led statement of what the tool does; the verb "List" only comes from the title. It also gives no signal to distinguish it from siblings like find_restaurant_items or search_restaurant_dishes, so an agent must infer the catalog-vs-search distinction.

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?

There is no when-to-use or when-not-to-use guidance, and no named alternative for drilling into items or searching dishes. The only implicit guidance is contained in the schema's query property ("Leave out to list all"), not the description.

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