Skip to main content
Glama

Citybikes Networks Near

citybikes_networks_near
Read-onlyIdempotent

Find bike-share networks near a lat/lon: "bike share near me", "find bike rental network by location", "citybikes nearby coordinates". Returns the closest networks sorted by distance with their id, name, city, country, and distance_km. If none fall within radius_km, returns count:0 plus a note naming the single nearest network beyond the radius. To then get live stations and free bikes for a returned network, call get_network with its id. Example: Göttingen (latitude 51.53, longitude 9.93) -> nextbike-kassel ~39.5km away.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "latitude": 51.53,
      "longitude": 9.93
    },
    "name": "citybikes_networks_near"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax networks to return, 1-20 (default 5)
latitudeYesLatitude of the search center (e.g. 51.53)
longitudeYesLongitude of the search center (e.g. 9.93)
radius_kmNoSearch radius in kilometers (default 50; bike networks are sparse, so the nearest city may be 30km+ away)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "latitude": 51.53,
      +    "longitude": 9.93
      +  },
      +  {
      +    "latitude": 40.7128,
      +    "limit": 10,
      +    "longitude": -74.006,
      +    "radius_km": 30
      +  }
      +]
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so safety is covered. The description adds genuinely new behavior: the count:0 fallback that names the single nearest network beyond the radius, which prevents an agent from misreading an empty result as 'no networks exist'. It does not mention pagination or cost, but the value-add beyond annotations is solid.

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

Conciseness4/5

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

The core action is front-loaded in the first clause, followed by return fields, edge-case behavior, and next step in a logical order. The list of quoted search phrases is somewhat redundant filler for an agent, but it is short and the concrete Göttingen example earns its place by showing expected magnitude of distance_km.

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 read-only geographic lookup with no output schema, the description covers everything an agent needs: inputs, sorted return fields, the empty-result fallback, a distance example, and the logical next call. Nothing material is left to inference.

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 100%, so all four parameters are already documented in the schema, which sets the baseline at 3. The description's note about radius_km behavior (empty result plus a beyond-radius note) overlaps with the schema's own note that sparse networks may be 30km+ away, and it adds nothing about limit or coordinate validation, so the marginal gain is small.

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 opens with a specific verb and resource ('Find bike-share networks near a lat/lon') and immediately states the return shape (id, name, city, country, distance_km) sorted by distance. The included query phrasings make the intended use case unmistakable, so an agent can distinguish this geographic lookup from a name-based network search.

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?

It explicitly routes the agent to a follow-up tool: 'To then get live stations and free bikes for a returned network, call get_network with its id,' which is a concrete alternative step with a condition. It does not, however, contrast with the name-based sibling citybikes_search_networks, so an agent must infer when coordinates vs. a query string is appropriate.

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.