Skip to main content
Glama
hebrew-il-mcp

hebrew-il-mcp

by Shtibel1

City from Israeli postal code

israeli_city_from_postal

Maps a valid 7-digit Israeli postal code to a matching curated city or town via longest-prefix match, enabling approximate locality lookup from postal codes.

Instructions

Map a valid 7-digit Israeli postal code to the best-matching curated locality via longest-prefix match. Honest approximation of major cities/towns — not a full Israel Post address dump.

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": {
      "postalCode": "<postalCode>"
    },
    "name": "israeli_city_from_postal"
  }
}

Input Schema

NameRequiredDescriptionDefault
postalCodeYes7-digit mikud, with or without separators

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden. It usefully reveals the matching algorithm (longest-prefix) and the coverage limitation (curated major cities/towns, not exhaustive), which are the real surprises an agent needs. It does not say what happens for an unmatchable or malformed code, or what the response looks like.

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, zero waste. The core mapping behavior with the matching strategy leads, and the scope limitation follows immediately. Nothing is padded or restated from the title.

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?

For a one-parameter lookup with no output schema and no annotations, the definition covers input requirements and match quality well. It leaves the agent guessing about the return value's shape (a locality name? a score? a null on miss) and about failure behavior, which matters more here because no structured fields compensate.

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% and the schema already documents the single parameter including tolerance for separators. The description adds only the 'valid 7-digit' constraint, which is largely redundant with the schema text. Baseline 3 applies since the schema does the heavy lifting.

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 — mapping a 7-digit Israeli postal code to a curated locality — and adds the mechanism (longest-prefix match). The closing note about not being a full Israel Post dump sharply bounds scope. It does not explicitly position itself against siblings like lookup_israeli_city or normalize_israeli_postal_code, so it falls short of a 5.

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?

The phrase 'a valid 7-digit Israeli postal code' implies a precondition, and the 'honest approximation' caveat tells the agent when the answer will be coarse. However, there is no explicit guidance on whether to normalize first via normalize_israeli_postal_code or how this differs from lookup_israeli_city, so usage is only implied.

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