Skip to main content
Glama
geoagent-lebanon

geoagent-lebanon

blocks_near

Find reference land-cover blocks near a WGS84 point within a set radius, ranked nearest first with distances and label counts; optionally filter by English or Arabic label.

Instructions

Reference blocks whose centre lies within radius_km (default 1, max 50) of a WGS84 point, nearest first, with distances and label counts; optional label filter (English or Arabic). Sample blocks only.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "blocks_near"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
langNo
labelNo
limitNo
radius_kmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden; it discloses ordering ('nearest first'), return content ('distances and label counts'), and dataset scope ('Sample blocks only'). It does not cover permissions or error behavior, but for a read-only spatial sample query the behavioral picture is largely clear.

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, front-loaded with the core operation, and no filler. The semicolon-separated clauses remain readable, though parameter details are packed in without structure.

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?

No output schema and no annotations mean the description must be self-sufficient. It gives core return values and ordering, but incomplete parameter coverage and missing limit/lang semantics leave gaps for a 6-parameter tool.

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 coverage is 0%, so the description must compensate. It explains lat/lon as WGS84, radius default/max, and a label language filter, but leaves 'limit' and the 'lang' enum values (including 'auto') undocumented, and does not clarify the relationship between label and lang.

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 spatial query: reference blocks whose centre lies within a radius of a WGS84 point. The 'Sample blocks only' qualifier hints at the distinction from human_blocks_near, but it does not explicitly name alternatives.

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?

No explicit when-to-use or when-not-to-use guidance. The 'Sample blocks only' note is a scope constraint but not a routing instruction; an agent must infer that human_blocks_near or query_blocks may be alternatives.

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