Skip to main content
Glama

placegraph

Walking times to nearest competitors

walk_times

For a finished site_selection job: walking (or driving/cycling) times from each candidate to its nearest competitors, one route per pair. About $0.006 per 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": {
      "job_id": "<job_id>"
    },
    "name": "walk_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesA finished site_selection job
wait_sNoSeconds to wait for the runs before returning a job id (default 45).
nearestNoCompetitors per candidate (default 4)
travel_modeNoDefault walking
max_cost_usdNoRefuse to start if the estimated cost is above this (USD). Default 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-idempotent, open-world behavior, so the baseline is lower. The description's genuine contribution is pricing ('about $0.006 per route') and the per-pair cost basis, but it omits whether repeat calls are re-charged, whether results are cached, and what happens when the wait interval elapses before the runs finish.

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 with zero filler: the purpose and prerequisite come first, then the cost caveat. Every phrase earns its place and nothing is repeated from the title.

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?

With five fully documented parameters and no output schema, the description covers what the tool produces (route times per candidate-competitor pair) and its cost. It leaves a modest gap around the asynchronous job lifecycle, notably that a not-yet-finished call may return a job id tracked via job_status.

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%, including defaults for wait_s, nearest, travel_mode, and max_cost_usd, so the schema carries most parameter meaning. The description adds only a small amount: it enumerates the travel modes and relates 'one route per pair' to the nearest-count/cost calculation, without explaining units or interaction with max_cost_usd.

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 computation ('walking times from each candidate to its nearest competitors, one route per pair') bound to a specific resource ('a finished site_selection job'). An agent can tell this apart from site_selection or competitor_graph, though it doesn't explicitly contrast with the closest sibling, competitor_graph.

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?

'For a finished site_selection job' is a concrete precondition that tells the agent when this tool is applicable and implies it must run after site_selection completes. It stops short of naming alternatives or exclusions (e.g., when to prefer competitor_graph or alternatives instead).

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.