Skip to main content
Glama

Household income

income
Read-onlyIdempotent

Household income for a place in Spain from INE's income atlas, down to census tract.

Returns net and gross income per person and per household, mean and median per consumption unit, inequality (Gini, P80/P20), income sources (wages, pensions, benefits), a trend, and benchmarks against the province, region and Spain. Use it for purchasing power, price positioning and choosing between districts. Figures are euros of the data year; the atlas runs about two years behind.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
placeYesPlace name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns.
yearsNoYears of history for the trend (max 9).
rank_byNoMetric used to rank sub-areas.net_income_per_person
sub_areasNoFor a municipality, rank its 'district's or census 'tract's. Default 'none'.none

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
checksNo
sourcesYes
confidenceYesLowest confidence across inputs: high, medium or low. Never state a conclusion more strongly than this.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / $defs / Place / properties / area_names
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "For districts and tracts: OpenStreetMap neighbourhood names inside it (not official INE names).",
      +  "title": "Area Names"
      +}
    • changedOutput schema / $defs / Place / properties / match / description
      Previous value: -"How the query matched. 'fuzzy' means a spelling guess: confirm it."New value: +"How the query matched. 'fuzzy' means a spelling guess: confirm it. 'neighbourhood' means a neighbourhood name was found inside this INE district."
    • changedOutput schema / $defs / Place / properties / match / enum
      Previous value: -[
      -  "code",
      -  "exact",
      -  "prefix",
      -  "fuzzy"
      -]New value: +[
      +  "code",
      +  "exact",
      +  "prefix",
      +  "fuzzy",
      +  "neighbourhood"
      +]
    • addedOutput schema / $defs / Place / properties / matched_name
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The neighbourhood name that matched, if any.",
      +  "title": "Matched Name"
      +}
  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 read-only, idempotent and open-world behavior; the description adds an important freshness caveat ('the atlas runs about two years behind') and the currency basis, which the agent cannot infer from annotations. It does not discuss rate limits or auth, but with annotations covering safety a 4 is warranted.

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?

The description is front-loaded and well-structured, moving from purpose to returns to usage to caveats. The lengthy enumeration of return fields is somewhat redundant given the output schema, which keeps it from a 5.

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?

With an output schema handling return values and annotations covering safety, the description supplies the key missing context: data vintage and practical use cases. It does not direct the agent to alternative tools for overlapping needs, a minor gap for a data-retrieval tool.

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%, so the schema fully documents all four parameters including formats and enums. The description adds no parameter-specific meaning beyond what is already in the schema, making the baseline 3 appropriate.

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?

Starts with a precise resource ('Household income for a place in Spain... down to census tract') and enumerates the returned metrics, so the agent knows exactly what data it retrieves. It does not explicitly contrast itself with sibling tools like demographics or price_band, which keeps it from 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 Guidelines4/5

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

Provides concrete use cases ('purchasing power, price positioning and choosing between districts'), giving clear context for when to invoke it. It offers no when-not guidance or named alternatives among the siblings, so it stops short of a 5.

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.