Skip to main content
Glama

City stats

city_stats
Read-only

Totals for one city: number of programs and licensed daycares, share claimed by their owners, share with a Spanish description, share free, and programs by category.

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": "city_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
city_slugNoCity slug (e.g. 'lodi'). Defaults to 'lodi' if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety behavior is covered structurally. The description contributes the substantive context of what is being aggregated (claim rate, Spanish-description rate, free rate, category split), but says nothing about data freshness, how 'share' is computed, or behavior for an unrecognized city.

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 sentence with no filler; the scope comes first and the metric enumeration follows. Since there is no output schema, every listed metric earns its place by telling the agent what the call returns.

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, the description correctly carries the burden of describing return content and does so thoroughly, and the lone parameter is fully specified. Only minor gaps remain: unknown-city behavior and whether the statistics are live or cached.

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% and the single city_slug parameter is fully documented there, including the 'lodi' default. The description reinforces the one-city scope ('Totals for one city') but adds no format, valid-value, or fallback 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete resource and scope ('Totals for one city') and then enumerates the exact metrics produced: program/daycare counts, claimed share, Spanish-description share, free share, and category breakdown. That is far more specific than a name restatement, though it never explicitly contrasts itself with listing-style siblings such as list_cities or nearby_programs, so an agent must infer that this is the aggregate-view tool.

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?

Usage is implied rather than stated: 'Totals for one city' suggests an aggregate/summary use case as opposed to per-record retrieval, and the absence of any required parameters signals it can be called bare. There is no explicit when-to-use, when-not-to-use, or named alternative guidance.

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