Skip to main content
Glama

jimmy_johns_nearby

Read-only

Jimmy John's restaurants near a coordinate, nearest first, with the Olo restaurant_id jimmy_johns_menu needs.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "jimmy_johns_nearby"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOptional. Maximum restaurants to return, 1-50, default 10.
radiusNoOptional. Search radius in miles, 1-100, default 15.
latitudeYesRequired. Search center latitude.
longitudeYesRequired. Search center longitude.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

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 readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds a genuine behavioral detail not in the annotations — results are sorted nearest-first. It does not cover empty-result behavior or how radius interacts with limit, but the key ordering contract is disclosed.

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?

A single sentence that front-loads the resource and coordinate scope, then adds ordering and the cross-tool purpose. No filler and nothing redundant with the structured fields.

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 simple four-parameter lookup with full schema coverage, rich annotations, and an output schema, the description supplies everything needed to call it correctly. Minor gaps remain around empty results and how the radius/limit defaults behave in sparse areas.

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%, with each of the four parameters documented including ranges and defaults, so the baseline is 3. The description only restates that the search is coordinate-based and adds no format or interaction detail beyond the schema.

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 ('Jimmy John's restaurants near a coordinate'), including ordering ('nearest first') and the downstream value of the result ('the Olo restaurant_id jimmy_johns_menu needs'). An agent can immediately distinguish this lookup tool from the menu/modifier/store 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?

The description makes the primary use case explicit: this is the prerequisite step that yields the restaurant_id consumed by jimmy_johns_menu. It does not state exclusions or clarify when to prefer jimmy_johns_store instead, so the routing guidance is clear but not exhaustive.

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.