Skip to main content
Glama

PlaceFit

Compare PlaceFit places

compare_places
Read-onlyIdempotent

Compare two to four UK places with the same weights and directions. Returns ranked grades, category-by-category figures and winners, trade-offs, optional peak drive times, gaps and attributions.

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": {
      "places": "<places>"
    },
    "name": "compare_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
placesYesTwo to four UK places, slugs or postcodes to compare.
presetNoA PlaceFit starting-point preset. family, first_time_buyer, renter, commuter and retiring are for people moving home; landlord is for letting a property out.
weightsNoOptional slider weights, 0 to 6. Measures at 0 drop out of the score.
commute_toNoOptional destination (place name or postcode) for peak drive times.
directionsNoOptional lean for two-way measures such as heritage or hospitality. Unset two-way measures stay as context and are not scored.
school_phaseNoWhich mainstream schools count in the schools score. Special and other non-mainstream schools never count.

Output Schema

NameRequiredDescriptionDefault
gapsYes
rankedYes
commuteYes
headlineYes
categoriesYes
trade_offsYes
compare_urlYes
attributionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 open-world behavior, so safety is covered. The description adds value beyond that by disclosing what a comparison yields — ranks, per-category figures and winners, trade-offs, gaps and attributions — and by stressing that all places share the same weights and directions, which is the tool's core behavioral contract. It omits caveats such as minimum-data handling or how unresolved slugs are reported.

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?

A single dense sentence with the core comparison statement front-loaded ahead of the output enumeration. The trailing list ('gaps and attributions') is slightly telegraphic, but no sentence 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?

With six parameters, nested objects and an output schema present, the description need not document return values, and it correctly summarizes them in one clause. However, for a read-only open-world comparison it leaves out practical context such as what happens with fewer than two or more than four places, or how place coverage gaps affect results.

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 nested objects and enums already documented, so the schema carries parameter meaning. The description adds only the framing that weights and directions apply uniformly across all compared places. Baseline 3 is appropriate given the schema does the heavy lifting.

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 and resource ('Compare two to four UK places') and pins the scope with 'same weights and directions'. It is immediately clear what the tool produces (ranked grades, category figures, winners, trade-offs). It does not name a sibling such as get_place_profile to contrast a single-place lookup with a comparison, so it stops short of 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 Guidelines3/5

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

Usage is implied by the operation itself: compare 2–4 places under one shared configuration, optionally adding peak drive times. There is no explicit statement of when to prefer this over get_place_profile or find_places_matching_brief, and no guidance on preset versus custom weights beyond what the schema enumerates.

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