Skip to main content
Glama

Datacommons Child Places

datacommons_child_places
Read-onlyIdempotent

Compare one Google Data Commons statistical variable across every child place of a parent — e.g. population of all US states, median income of every county in Texas (geoId/48, County), GDP of every country in Europe. Returns rows sorted by value with names and the publisher of each value.

Input Schema

NameRequiredDescriptionDefault
dateNoLATEST (default) or a date: 2020, 2020-06
sortNoSort by value (default desc)
limitNoMax rows (default 50, max 300)
_apiKeyYesData Commons API key (free). Get one at https://apikeys.datacommons.org
variableYesStatistical variable dcid, e.g. Count_Person
child_typeYesChild place type, e.g. State, County, City, Country
parent_placeYesParent place dcid, e.g. country/USA, geoId/48, europe, Earth

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds useful behavior beyond that: results come back sorted by value with place names and the publisher of each value, which tells the agent what it will receive. It does not mention rate limits or the 50/300 row cap (left to the schema).

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?

Two sentences, front-loaded with the operation and scope, then the return shape. Every clause carries information — the examples and the 'sorted by value with names and publisher' clause each earn their place.

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

Completeness5/5

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

With no output schema, the description compensates by specifying the row shape (value, name, publisher) and ordering. All seven parameters are documented in the schema, and the safety semantics are carried by annotations, so nothing an agent needs to call this correctly is missing.

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 100%, including per-parameter examples for variable, child_type and parent_place plus enum and default notes for sort/limit. The description restates the variable/parent/child relationship but adds no syntax, format, or default detail beyond the schema, so the baseline 3 applies.

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 precise verb (compare) plus the exact scope (one statistical variable across every child place of a parent), and the three examples map the abstract scope onto concrete real-world cases. It implicitly separates itself from datacommons_observation (single-entity lookup) and datacommons_find_place/find_variable (ID resolution) by making clear this is a bulk child-place aggregation.

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

Usage Guidelines4/5

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

The worked examples (population of all US states, median income of every Texas county, GDP of every European country) make the intended usage clear and actionable. However, it never says when NOT to use it or names a sibling alternative (e.g. datacommons_observation for a single place), so routing is left partly to inference.

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.