Skip to main content
Glama

search_polling_stations

Read-onlyIdempotent

Published Knesset26 polling-building points, Hebrew addresses and Census2022 area assignments. Coordinates describe the building, not voter residence. Search by locality code, translated locality name, station label or published address.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_polling_stations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum matching records per page, 1–50; default 10.
queryNoOptional search text, up to 100 characters; empty means no text filter.
offsetNoNumber of matching polling-station records to skip, 0–100000; default 0.
election_idNolatest, a Knesset ID such as k26, or full YYYY-MM-DD date. A bare 2019 is ambiguous.latest
locality_codeNoFilter by official CBS locality code, for example 4000 for Haifa. Omit to search across localities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum matching records per page, 1–50; default 10."
    • addedInput schema / properties / locality_code / description
      Added value: +"Filter by official CBS locality code, for example 4000 for Haifa. Omit to search across localities."
    • addedInput schema / properties / offset / description
      Added value: +"Number of matching polling-station records to skip, 0–100000; default 0."
    • addedInput schema / properties / query / description
      Added value: +"Optional search text, up to 100 characters; empty means no text filter."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavioral context: the coordinates describe the building rather than voter residence, and the underlying dataset is published Knesset26 with Census2022 area joins. Return format details are absent, but there is no output schema to defer to, so that is a minor gap.

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?

Three tightly packed sentences with the dataset identity and the coordinate caveat front-loaded before the search-mode sentence. The first sentence is a verbless fragment, which is dense but slightly telegraphic rather than wasteful.

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 filtered-list read tool with five fully documented optional parameters and strong annotations, the description supplies dataset provenance, the key interpretation caveat about coordinates, and the searchable fields. Nothing an agent needs in order to call it correctly 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 baseline is 3, and the description earns above baseline: it specifies that the free-text query matches translated locality name, station label, or published address, which the schema's generic 'Optional search text' does not. It adds nothing about election_id or paging, but those are already well documented in the schema.

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 names the specific resource (Knesset26 polling-building points) and enumerates the returned fields (Hebrew addresses, Census2022 area assignments), which is far more informative than a generic 'search polling stations'. It does not explicitly distinguish itself from the sibling get_polling_station or search_localities, leaving that differentiation implicit.

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 implied by the search vocabulary ('Search by locality code, translated locality name, station label or published address'), which tells the agent how to drive the filter. There is no explicit when-to-use/when-not guidance and no pointer to get_polling_station for a single station or search_localities for locality lookups.

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