Skip to main content
Glama

olamap_search_along_route

Search for points of interest along a route by providing origin, destination, and query, then narrow results with optional place-type and radius filters.

Instructions

Searches for POIs along a specified route

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": {
      "origin": "<origin>",
      "destination": "<destination>",
      "query": "<query>"
    },
    "name": "olamap_search_along_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query for POIs (e.g., "gas station", "restaurant")
typesNoPlace types filter (restaurant, gas_station, etc.)
originYesRoute starting point as coordinates "lat,lng" or address
radiusNoSearch radius in meters from route
destinationYesRoute ending point as coordinates "lat,lng" or address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it says nothing about read-only nature, result limits, ordering along the route, pagination, or behavior when the route cannot be computed. Beyond 'it searches', the agent learns nothing about what to expect from the call.

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?

It is a single waste-free sentence, but that brevity comes at the cost of substance rather than through disciplined editing. There is no front-loaded detail beyond the bare purpose.

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 five-parameter, three-required tool with no annotations and no output schema, the definition is far too thin: nothing describes return shape, result ordering, limits, or failure modes. The rich sibling set of route-related tools also goes unaddressed.

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 every parameter (query, types, origin, destination, radius with default 5000) is already documented, including the 'lat,lng' or address format. The description adds no extra meaning such as how radius interacts with the route or how types differs from query.

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 states a specific verb and resource ('Searches for POIs') plus a scoping constraint ('along a specified route'), which implicitly separates it from olamap_nearby_search and olamap_text_search. However, it never names those siblings or explicitly contrast the route-corridor search with a point-radius or free-text search.

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 guidance, no prerequisites (e.g. that both endpoints must be resolvable), and no mention of when a nearby or text search would be preferable. The only implicit cue is the phrase 'along a specified route'.

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