Skip to main content
Glama

get_polling_station

Read-onlyIdempotent

One station’s exact CEC identity, official published building point/address, aggregate result and independent census assignment; historical positions are not inferred.

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": {
      "locality_code": "<locality_code>",
      "ballot_label": "<ballot_label>"
    },
    "name": "get_polling_station"
  }
}

Input Schema

NameRequiredDescriptionDefault
election_idNolatest, a Knesset ID such as k26, or full YYYY-MM-DD date. A bare 2019 is ambiguous.latest
ballot_labelYesExact published ballot-box label, including decimal or suffix when present, from search_polling_stations; for example 50.
locality_codeYesOfficial CBS locality code of the station, for example 4000 for Haifa.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / ballot_label / description
      Added value: +"Exact published ballot-box label, including decimal or suffix when present, from search_polling_stations; for example 50."
    • addedInput schema / properties / locality_code / description
      Added value: +"Official CBS locality code of the station, for example 4000 for Haifa."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower, and the description still adds real value beyond them. 'Historical positions are not inferred' discloses a meaningful limitation (no reconstruction of past boundaries or station moves), and 'official published' vs 'independent census assignment' flags provenance of the returned fields.

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?

A single dense sentence with no filler, and the non-inference caveat is placed as a trailing clause. It is slightly telegraphic (a noun-phrase list rather than a statement of action), but nothing is wasted.

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

Completeness3/5

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

With no output schema, naming the returned fields is appropriate and helpful. However, for an exact-match lookup keyed on locality_code plus ballot_label, the description never explains how to obtain a valid label or how election_id scoping affects which station record is returned.

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%, with all three parameters documented including the ambiguous-year caveat for election_id and the CBS locality code example. The description adds no further parameter guidance, so the baseline of 3 applies.

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 identifies a single-resource retrieval ('One station's ...') and enumerates what the record contains: CEC identity, published building point/address, aggregate result, and census assignment. The singular framing implicitly contrasts with the sibling search_polling_stations, but it never names that sibling or use an explicit verb like 'fetch'/'retrieve'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the detail lookup for a specific station, presumably after finding a ballot_label via search_polling_stations, but the description never says so. There is no explicit when-to-use, no exclusion, and no stated prerequisite that the label must come from the search tool.

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.

Resources