Skip to main content
Glama

Geo-Insights Environmental Data

Compare BGI Measures

compare_measures
Read-onlyIdempotent

Side-by-side comparison of 2-5 BGI measures.

Args:
    measure_slugs: List of 2-5 different measure slugs (e.g.
                  ["extensive-green-roof", "bioswale-street"]). Use
                  search_bgi_measures to find valid slugs. Slugs that match
                  no measure are listed in not_found.

Returns aligned comparison with goal scores, key performance parameters
(retention, cooling, infiltration), costs, maintenance level, and scale.

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": {
      "measure_slugs": "<measure_slugs>"
    },
    "name": "compare_measures"
  }
}

Input Schema

NameRequiredDescriptionDefault
measure_slugsYes

Output Schema

NameRequiredDescriptionDefault
countYes
measuresYes
not_foundNoRequested slugs that match no active measure
last_updatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / not_found
      Added value: +{
      +  "description": "Requested slugs that match no active measure",
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Not Found",
      +  "type": "array"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the bar is low, yet the description still adds behavior: unresolvable slugs are surfaced in a not_found list rather than failing, and the comparison is aligned across measures. It does not say how duplicates or more than five slugs are handled, leaving a small residual gap.

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?

One-line purpose sentence up front, then a short args block and a returns block; every line carries information (constraint, example, discovery tool, error handling, output contents). No filler or restated title.

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 rich annotations, a single parameter, and an output schema present, the definition covers the input contract and the failure mode an agent must anticipate. Only remaining ambiguity is whether slug order is echoed in the aligned result and whether >5 or duplicate slugs are rejected or silently trimmed.

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 0% and the array has no minItems/maxItems, so the description carries the burden: it supplies the 2-5 element constraint, the shape of a slug, a worked example, the discovery path via search_bgi_measures, and the fact that non-matching slugs go to not_found. That is meaningful semantics beyond the bare string array.

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

Purpose5/5

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

States a specific verb and resource ("Side-by-side comparison of ... BGI measures") and quantifies the scope (2-5 measures), which separates it from ranking or single-measure retrieval siblings. An agent can tell what it produces without opening the schema.

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?

Gives a concrete pre-step ("Use search_bgi_measures to find valid slugs"), which is real workflow guidance, but never states when to pick this over rank_measures or get_measure_detail. Usage is implied by the word "comparison" rather than argued.

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