Skip to main content
Glama
hebrew-il-mcp

hebrew-il-mcp

by Shtibel1

Normalize Israeli postal code

normalize_israeli_postal_code

Validate and format Israeli 7-digit postal codes by accepting digits with optional spaces or dashes and returning both plain digits and XX-XXX-XX formatting.

Instructions

Validate and format an Israeli 7-digit postal code (מיקוד, post-2013). Accepts digits with optional spaces/dashes; returns digits and XX-XXX-XX formatting.

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": "normalize_israeli_postal_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
postalCodeYesPostal code as written, e.g. '12-345-67' or '1234567'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose the input tolerance ('optional spaces/dashes') and the return shape (digits plus XX-XXX-XX formatting). It omits what happens on invalid input — an error versus a null — which is the main remaining behavioral gap.

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 compact sentences: the operation and scope come first, then the accepted input forms and output format. Nothing is redundant with the title or padding.

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?

For a single-parameter pure function with no output schema and no annotations, the description supplies the operation, input tolerance, and output format, which is adequate to call it correctly. Only the failure mode for invalid codes is undefined.

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 would be 3, but the description goes beyond the schema's bare examples by stating the acceptance rule (digits with optional spaces/dashes) and the 7-digit requirement. That adds real constraint meaning an agent can act on.

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 opens with a specific verb pair and resource — 'Validate and format an Israeli 7-digit postal code' — plus a locale/version qualifier ('מיקוד, post-2013') that narrows scope meaningfully. An agent can distinguish it from siblings like israeli_city_from_postal, though the description never explicitly contrasts them.

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: the tool is for normalizing a postal code the user has already supplied. There is no statement of when to prefer it over israeli_city_from_postal or what to do with unrecognized codes, so the agent must infer the selection rule.

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