Skip to main content
Glama

get_demographics

Read-onlyIdempotent

CBS Census2022 resident composition, country of birth/origin and aliyah cohorts. Each percentage retains its own denominator; merged reporting areas count once. The snapshot excludes subsequent aliyah and cannot identify individual votes.

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

Input Schema

NameRequiredDescriptionDefault
levelNoList locality or published statistical-area profiles when no locality_code is given; default localities. With locality_code the response includes its profile and paginated areas.localities
limitNoMaximum matching records per page, 1–50; default 10.
queryNoOptional search text, up to 100 characters; empty means no text filter.
offsetNoNumber of matching records to skip for pagination, 0–10000; default 0.
locality_codeNoFilter by official CBS locality code, for example 4000 for Haifa. Omit to search across localities.
stat_area_codeNoPublished Census2022 statistical-area code within locality_code. Requires locality_code; returns the published combined area when applicable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / level / description
      Added value: +"List locality or published statistical-area profiles when no locality_code is given; default localities. With locality_code the response includes its profile and paginated areas."
    • 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 records to skip for pagination, 0–10000; default 0."
    • addedInput schema / properties / query / description
      Added value: +"Optional search text, up to 100 characters; empty means no text filter."
    • addedInput schema / properties / stat_area_code / description
      Added value: +"Published Census2022 statistical-area code within locality_code. Requires locality_code; returns the published combined area when applicable."
  2. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuinely useful behavioral context beyond that: each percentage retains its own denominator, merged reporting areas are counted once, the snapshot excludes subsequent aliyah, and individuals cannot be identified – caveats an agent cannot derive from the structured 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?

Three compact sentences with no filler; the dataset identity is front-loaded and the caveats follow. The first sentence is a dense noun phrase without a verb, which slightly hurts immediate parseability, 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?

For a six-parameter retrieval tool with no output schema, the description gives partial return-shape information (composition, birth country/origin, aliyah cohorts) plus important dataset caveats. However, it never says how results are structured or paginated, omits the relationship to overlapping sibling tools, and leaves the level/locality_code interaction entirely to the schema, so it is adequate but not complete.

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 every parameter including level, locality_code, stat_area_code and pagination fully documented in the schema. The description adds no parameter-level meaning – it does not mention level defaults, the locality_code/stat_area_code dependency, or pagination behavior. Baseline 3 applies when the schema does all the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the underlying dataset ("CBS Census2022 resident composition, country of birth/origin and aliyah cohorts") but is written as data documentation rather than a tool action, with no verb stating that it retrieves or lists profiles. An agent can infer it returns demographic data, but the resource-verb pattern is implicit, and differentiation from siblings such as get_birth_country_population or get_immigration is only inferable from the dataset name.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no exclusions, and no reference to alternative tools – even though get_birth_country_population and get_immigration plausibly overlap with the birth-origin and aliyah content. The clause about percentages retaining denominators and merged areas counting once implies how data should be aggregated, but that is reporting guidance, not tool-selection guidance.

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