Skip to main content
Glama

Nearby bike stations

nearby_stations
Read-onlyIdempotent

Find nearest bike-share stations around coordinates with live bikes, e-bikes, or free docks; filter by need and distance after getting a network ID.

Instructions

Nearest stations of one network to a point, with live bikes, e-bikes and free docks. Get network_id from search_networks first.

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": {
      "network_id": "<network_id>",
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "nearby_stations"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
needNo"bikes" keeps stations renting with bikes left, "docks" stations with free docks.
limitNo
network_idYesNetwork id returned by search_networks, e.g. "velib-velos-et-bornes-disponibilite-temps-reel".
max_distance_metersNo

Output Schema

NameRequiredDescriptionDefault
networkYes
stationsYes
freshnessYes
attributionYes
droppedStationsYes
outsideNetworkAreaYes
nearestDistanceMetersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety behavior is covered. The description adds real value by disclosing that results carry live availability (bikes, e-bikes, free docks) and that the search is confined to a single network. It says nothing about ordering, distance units, or how the default limit/distance caps behave.

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 no filler. The what-it-returns content is front-loaded and the prerequisite follows, which is the right order for an agent skimming for capability first, then constraints.

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?

An output schema exists, so return-value detail is unnecessary here, and annotations cover the safety profile. For a 6-parameter spatial query the remaining gaps (distance units, result ordering, default limit behavior) are modest but real.

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 coverage is only 33%, so the schema documents just 'need' and 'network_id' while lat, lon, limit and max_distance_meters are bare. The description compensates partially by framing the operation as 'nearest ... to a point,' which gives meaning to the coordinate pair and the distance-based ranking, but it adds nothing for limit or max_distance_meters beyond their self-descriptive names.

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?

States a specific verb and resource ('Nearest stations of one network to a point') plus what the result carries ('live bikes, e-bikes and free docks'), which is far more than the name alone. It implicitly separates itself from search_networks by naming it as a prerequisite, but never explicitly contrasts itself with the other sibling, get_station.

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?

Gives a concrete prerequisite and call ordering: 'Get network_id from search_networks first,' which is the key sequencing decision for an agent. It stops short of stating exclusions or when to prefer get_station for a single known station, so no 5.

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

Deploy Server

Other Tools