Skip to main content
Glama

MiPiso.net · Spain property rules

Get the history of a rule

get_rule_history
Read-onlyIdempotent

The dated sequence of values of one rule at one place (for example how a town's IBI rate changed), each with its source. (Historial de una norma: cómo ha cambiado el IBI o la plusvalía de un municipio.)

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": {
      "place_id": "<place_id>",
      "key": "<key>"
    },
    "name": "get_rule_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesA rule key returned by get_rules.
place_idYesA place id returned by find_place.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive behavior, so the bar is lower; the description usefully adds that results are scoped to a single rule at a single place and that each value carries provenance ('each with its source'). With no output schema, that return-shape context is the main value added, though ordering, range or pagination details are unstated.

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?

A single front-loaded sentence stating the returned data, its scope, and provenance, followed by a brief example. The Spanish parenthetical is redundant for an English reader but does clarify the domain (Spanish municipal taxation) without bloat.

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 simple two-parameter read tool with full schema coverage, complete annotations and no output schema, the description conveys enough to call it correctly: what is returned, that it is per rule per place, and that sources accompany values. Only trend-specific behavior such as ordering or full history depth is left unstated.

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 explains that key comes from get_rules and place_id from find_place, so baseline 3 applies. The description reinforces the 'one rule, one place' scoping but adds no format or syntax detail beyond 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 and shape returned: a dated sequence of values for one rule at one place, each with its source, plus a concrete example (a town's IBI rate). It is a noun phrase rather than a verb+resource, and it does not explicitly contrast with siblings like get_recent_changes or compare_rule, so it falls short of 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?

Usage is only implied through the example of tracking how a municipal rate changed over time; there is no explicit statement of when to use this versus get_recent_changes (recent deltas) or compare_rule (cross-rule comparison). The agent must infer the trend-over-time use case.

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