Skip to main content
Glama
geoagent-lebanon

geoagent-lebanon

compare_places

Compare change evidence for two places side by side and check whether each has enough blocks to support ranking; avoids ranking when either place has fewer than five blocks.

Instructions

Compare the change evidence of two places side by side; refuses to rank when there are fewer than 5 blocks per place.

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_a": "<place_a>",
      "place_b": "<place_b>"
    },
    "name": "compare_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo
place_aYes
place_bYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load. It does disclose one genuinely non-obvious trait: it refuses to rank below a 5-block-per-place threshold. But it says nothing about whether it is read-only, what happens on invalid place identifiers, or what the comparison output contains.

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 clause with zero filler; the refusal rule is attached directly to the comparison action rather than buried in a preamble.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter tool with no annotations, no output schema, and zero schema descriptions, the definition is too thin. The threshold rule is useful, but an agent still cannot tell how to address a place or what evidence it gets back.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should compensate and does not. It never explains whether place_a/place_b are names, IDs, or coordinates, and never mentions the lang enum ('auto','en','ar') at all.

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') and a specific resource ('change evidence of two places') plus the result shape ('side by side'). It reads clearly enough to distinguish it from a single-place tool like change_summary, though it does not explicitly name a sibling it contrasts with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description never says when to choose this over change_summary or osm_vs_scores, nor what a 'place' here means versus a block. The only guidance is an internal precondition ('fewer than 5 blocks per place'), which constrains the call but does not steer tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.