Skip to main content
Glama

Profile one hex

hex_profile
Read-onlyIdempotent

Returns population, income, density, coffee shop counts, and overlay suitability scores for a Houston H3 hex, given an H3 ID or WGS84 coordinates.

Instructions

Everything known about one hex: population, share aged 25-34, median household income (approx.), density, coffee shops (chains / independents, names if available), overlay score and sub-scores, embedding similarity, percentiles, top-10% agreement class and hot-spot z. Give h3_id or lon+lat (WGS84).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hex_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
h3_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine value with data-quality caveats — income is '(approx.)' and shop names appear only 'if available' — but says nothing about what happens when both or neither locator is supplied, all three params being nullable and optional.

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?

One front-loaded sentence establishes scope, followed by the output inventory and then the input instruction. The field list is long but each item earns its place as a return-value spec; no filler and no repetition of the 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 no output schema present, the description does the necessary work of enumerating return fields, which is exactly what is missing elsewhere. The remaining gap is behavioral: ambiguity around optional locator params and any error/precision expectations for the 'approximate' metrics.

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 0%, so the description carries the burden for three undocumented params. It usefully supplies the coordinate system (WGS84) and frames h3_id and lon/lat as alternative locators, which the bare schema does not convey, but it never states precedence when both are given, nor the expected h3 resolution/format string.

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 scope ('Everything known about one hex') and then enumerates the exact payload: population, age share, income, density, coffee shops, overlay scores, embedding similarity, percentiles, agreement class, hot-spot z. An agent can tell this is the single-hex lookup/aggregation endpoint rather than a search or hotspot scan, even though no sibling is named.

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 only directive is 'Give h3_id or lon+lat (WGS84)', which is input mechanics, not when-to-use guidance. There is no statement about when to prefer this over find_similar, hot_spots, or overlay_suitability, nor any exclusion such as 'do not use for bulk profiling'.

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