Skip to main content
Glama

Measured walk between two places

walk_between
Read-onlyIdempotent

The measured connection between two places of Trieste Datum's world file (a walk, the public lift or the tram ride), turned to the direction asked: distance, climb and descent, the steepest 20 m, steps, whether the street map draws stairs, and the modelled minutes for each walker, with each value's label and the record word for word. For a walk with a data file of its own, alternatives gives, turned to the same direction, the ways beside it from that file: way_avoiding_stairs (a way round every mapped flight of stairs), with_public_lift (the same walk through a public lift, never free of steps, measured in the direction asked where the engine offers one: up or down, with the climb, descent and stairs it spares and its minutes beside the walk's, which can be more) and going_down (what the way down asks, with other ways down), each with its labels. Read them before saying there is no stair-free way or building one yourself; where one is null, alternatives.null_means says why. under_porticoes gives the metres of the way under the Region's mapped porticoes and pedestrian galleries (never that anyone stays dry). Give each end as an id (place:) or a name. If a name fits several places, or none, nothing is guessed: the candidates come back, so call again with ids. A hub or the area is never the end of a connection: use one of its places. If no connection joins the two, that does NOT mean they cannot be walked between: the world file has no measured walk for that pair, and no distance is ever worked out from positions. A few places have no known position (outcome no_known_point): nothing is measured to them; fetch gives what is known of where they are.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "walk_between"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesWhere the walk ends: place:<id> or a name.
fromYesWhere the walk starts: place:<id> or a name.

Output Schema

NameRequiredDescriptionDefault
toNo
fromNo
noteNo
foundYes
creditNo
recordNo
outcomeYes
data_readNo
never_sayNo
connectionNo
alternativesNo
asked_directionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / alternatives
      Added value: +{
      +  "type": "object"
      +}
    • changedOutput schema / properties / outcome / enum
      Previous value: -[
      -  "connection",
      -  "no_measured_connection",
      -  "choose",
      -  "not_a_place_end",
      -  "not_found"
      -]New value: +[
      +  "connection",
      +  "no_measured_connection",
      +  "no_known_point",
      +  "choose",
      +  "not_a_place_end",
      +  "not_found"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, and the description adds substantive traits beyond them: distances are never inferred from positions, ambiguous names return candidates rather than a guess, `alternatives.null_means` explains null entries, some places yield `no_known_point`, and `under_porticoes` is explicitly not a claim of staying dry. This is meaningful behavioral disclosure that annotations cannot supply.

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

Conciseness2/5

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

Content is largely relevant, but it is delivered as a single dense run-on with nested parentheses and eccentric phrasing ('never free of steps', 'turned to the direction asked'), so the agent must parse several sentences to extract one rule. Front-loading is weak: return-value detail precedes the endpoint rules, and the ambiguity/error guidance is buried mid-paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with an output schema, this covers everything an agent needs: accepted identifier forms, ambiguity and no-match outcomes, null semantics, the hub restriction, and the no_known_point failure mode. Nothing essential to calling it correctly or interpreting failure is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: each end is either `place:<id>` or a name, name ambiguity returns candidates instead of guessing, and hubs/areas are invalid endpoints even though they are valid strings. That constrains how the two parameters must be filled in ways the maxLength/minLength schema does not express.

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?

The description gives a specific verb+resource (the measured connection between two places in the world file) and enumerates what it returns: distance, climb, descent, steepest 20 m, steps, stairs drawn, minutes per walker, plus the alternatives from the same file. It also separates itself from siblings by noting that `fetch` gives what is known of where a place is, which an agent can compare with this tool's measured walk.

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?

Strong guidance on edge cases: read the alternatives before saying there is no stair-free way or building one yourself, call again with ids when a name is ambiguous or unresolved, never use a hub or the area as an end, and that 'no connection joins' does not mean unwalkable. The missing element is an explicit statement of when to prefer this over `reachable_from` or `live_conditions_at`; the contrast with `fetch` is present but only in passing.

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.