Skip to main content
Glama

Compare rental addresses

compare_addresses
Idempotent

Costs 1 prepaid credit. Compare two to four postcodes for English council and market data. One credit if any property resolves. If none resolves, no charge: no_data_available for permanent misses or upstream_unavailable if a lookup needs retrying.

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": {
      "postcodes": "<postcodes>",
      "requestId": "<requestId>"
    },
    "name": "compare_addresses"
  }
}

Input Schema

NameRequiredDescriptionDefault
householdNosingle: one household; small_hmo: 3-4 people from 2+ households; large_hmo: 5+ people from 2+ households
postcodesYesFull postcodes of the rented properties, at most 16 characters each, e.g. ["SE15 5BA", "SW6 1HS"]
requestIdYesPurchase UUID. Reuse only for a retry with identical arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / requestId
      Added value: +{
      +  "description": "Purchase UUID. Reuse only for a retry with identical arguments.",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "postcodes"
      -]New value: +[
      +  "postcodes",
      +  "requestId"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / postcodes / description
      Previous value: -"Full postcodes of the rented properties, e.g. [\"SE15 5BA\", \"SW6 1HS\"]"New value: +"Full postcodes of the rented properties, at most 16 characters each, e.g. [\"SE15 5BA\", \"SW6 1HS\"]"
    • addedInput schema / properties / postcodes / items / maxLength
      Added value: +16
    • addedInput schema / properties / postcodes / items / minLength
      Added value: +1
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the billing model (1 prepaid credit), the partial-resolution charge rule, and a two-code failure taxonomy (no_data_available vs upstream_unavailable). This also implicitly explains why readOnlyHint is false despite the tool being a lookup, which is valuable. It does not cover retry-idempotency behaviour or latency, which keeps it from a 5.

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 short sentences with the cost signal front-loaded before the functional scope and then the failure semantics. There is mild redundancy between 'Costs 1 prepaid credit' and 'One credit if any property resolves', though the second refines the first with a condition.

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?

There is no output schema, so the description should characterise what a comparison returns; it names the data domain (council and market data) but not the shape or per-postcode structure of the result. Cost and error handling are complete, so the remaining gap is the return value.

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 the baseline is 3, and the description adds meaning the schema does not carry: the England-only geographic restriction and the fact that a credit is consumed only when at least one property resolves, which reframes how the postcodes argument behaves. The household parameter's effect on results is left entirely to 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?

States a specific verb (Compare), resource (postcodes), and scope (English council and market data) with an explicit cardinality bound of two to four, which implicitly separates it from a single-address check. It stops short of naming a sibling tool, so differentiation is inferential rather than explicit.

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 two-to-four postcode bound implies the comparison scenario, but there is no statement of when to prefer this over check_address, area_market, or assess_property, and no exclusions. Usage context is present but must be inferred.

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