Skip to main content
Glama

Nearest EV chargers

ev_charger_nearby
Read-only

Find nearby EV charging stations by coordinates and city, filtered by connector type, AC/DC power, and current free availability; returns live status, opening hours, and prices.

Instructions

EV charging stations nearest to a coordinate, with their connectors (type, AC/DC, power) and how many are free, in use or out of order right now, plus opening hours and prices. Use city "freeway" for the freeway service areas. Example: lat 25.0478, lon 121.517, city "Taipei", connector "CCS2".

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

Input Schema

NameRequiredDescriptionDefault
latYesLatitude (WGS84), e.g. 25.0478.
lonYesLongitude (WGS84), e.g. 121.517.
cityYesCity: a TDX code (Taipei, NewTaipei, Taoyuan, Taichung, Tainan, Kaohsiung, ...) or its Chinese name (臺北市, 新北市, ...), or "freeway" for the freeway service areas.
wantNo"free" (default): only stations with a free connector of the wanted kind right now; "any": every station.
limitNoMaximum number of stations to return (default 5).
powerNoOnly AC (slow) or DC (fast) charging.
connectorNoOnly stations with this connector: CCS1, CCS2, CHAdeMO, Tesla (TPC), J1772 (Type 1) or Type2 (Mennekes).
radiusMetersNoSearch radius in metres (default 2000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-data reach are covered. The description adds genuinely useful behavior beyond that: results include real-time free/in-use/out-of-order counts, opening hours and prices, which tells the agent the payload is live and includes operational status. It still says nothing about result limits semantics, empty results, or staleness of the real-time data.

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: the first front-loads what the tool returns, the second carries the special case and a worked example. No filler, nothing repeated from the schema verbatim.

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 eight parameters, no output schema and a rich live payload, the description does the important extra work of naming the returned fields (connectors, availability, hours, prices). Reasonably complete; a note on default result size behavior or the real-time refresh cadence would close the remaining gap.

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 description coverage is 100%, so baseline is 3; the description goes further by supplying a concrete full example that shows realistic lat/lon values and a connector enum value in context, and by flagging the "freeway" city sentinel as a distinct lookup mode. It does not add detail on radiusMeters, limit or want beyond the schema.

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?

States a specific verb and resource ('EV charging stations nearest to a coordinate') and enumerates what comes back: connectors with type/AC-DC/power, live availability counts, opening hours and prices. An agent can distinguish this from parking_nearby or youbike_nearby purely from the text.

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 usage context (a coordinate plus a city) and a worked example with lat/lon/city/connector, plus the special-case instruction that city "freeway" targets freeway service areas. It does not explicitly say when to prefer another nearby-search sibling, so it stops short of full alternative routing.

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