Skip to main content
Glama

Geo-Insights Environmental Data

Rank BGI Measures for Municipality

rank_measures
Read-onlyIdempotent

Rank BGI measures for a municipality using policy-weighted scoring.

Combines goal alignment, cost-effectiveness, and maintenance into a
single ranked list. Use different policy profiles to see how priorities
change the ranking.

Args:
    gemeente_code: CBS municipality code (e.g. "GM0599" for Rotterdam).
                  Use lookup_municipality to find codes.
    goal: Optional boost for a specific goal (flood, heat, drought,
          biodiversity, social)
    policy_profile: Scoring profile — one of: Balanced, Flood-focused,
                   Heat-focused, Drought-focused, Biodiversity-first,
                   Cost-efficient (default: Balanced)
    limit: Max results (default 10, max 50)

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": {
      "gemeente_code": "<gemeente_code>"
    },
    "name": "rank_measures"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNo
limitNo
gemeente_codeYes
policy_profileNoBalanced

Output Schema

NameRequiredDescriptionDefault
countYes
measuresYes
last_updatedNo
gemeente_codeYes
gemeente_nameYes
policy_profileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered and the bar is lower. The description adds real value by disclosing what the scoring composes (goal alignment, cost-effectiveness, maintenance) and that ranking is deterministic under a named policy profile. It does not mention any cost, latency, or openWorld data-freshness implications despite openWorldHint=true.

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?

Front-loaded with a one-line statement of what the tool does, followed by scope and an Args block, which is a clean scannable structure. The prose paragraph and the Args list overlap slightly (policy_profile defaults are implied twice), but no sentence is wasteful.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. Combined with the thorough parameter coverage, the definition gives an agent enough to invoke correctly; only the absence of guidance on choosing this tool over search_bgi_measures or compare_measures leaves a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does so: it documents all four parameters, gives a concrete gemeente_code example ("GM0599" for Rotterdam) with a routing hint, lists the five accepted goal values, enumerates all six policy profiles with the default, and states the limit default and maximum of 50. This goes well beyond the bare schema titles and defaults.

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 and resource: 'Rank BGI measures for a municipality using policy-weighted scoring', so an agent knows exactly what the tool produces (an ordered list, not a search result). It does not explicitly contrast itself with siblings like search_bgi_measures or compare_measures, so it falls 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?

Offers usage guidance only in the form of 'Use different policy profiles to see how priorities change the ranking', which explains how to vary the call rather than when this tool is the right choice. The one explicit routing hint, 'Use lookup_municipality to find codes', is about parameter preparation, not tool selection. No when-not or alternative-tool guidance is given.

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