Skip to main content
Glama
bsab

milano-mobility-mcp

by bsab

get_active_smog_level

Read-onlyIdempotent

Retrieve Milan's active anti-smog level for a territory, with honest indication of validity and unknown status when live data is unavailable.

Instructions

Stato antismog: adapter non live, restituisce onestamente livello e validità sconosciuti.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonsYes
decisionNonon_determinabile
authorityYes
freshnessNomissing
valid_fromNo
valid_untilNo
active_levelNo
evaluated_atYes
last_checkedNo
source_checksNo
reference_urlsYes
authority_statusNonon_verificato
requested_territoryYes
authoritative_territoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds meaningful behavioral context beyond those annotations: the adapter is not live and the tool deliberately returns unknown level and validity values. This is a useful and honest disclosure of data freshness limitations.

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?

The description is a single concise sentence that front-loads the key caveat about the non-live adapter and the honest unknown result. There is no filler or redundant restatement of the tool name.

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?

For a simple one-parameter read-only tool with an output schema, the description is mostly adequate: it explains the main behavioral caveat and return semantics. However, it omits any guidance on how the territory parameter should be supplied and does not clarify how the 'unknown' result should be handled by the agent.

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%, and the description does not mention the 'request.territory' parameter at all. The parameter name is reasonably self-explanatory, but no format, examples, or allowed values are provided, and the description makes no effort to compensate for the schema's lack of documentation.

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 name 'get_active_smog_level' and the Italian description 'Stato antismog' make it clear the tool returns an anti-smog level status. It also states it returns level and validity honestly as unknown. However, the description is a noun phrase rather than a clear verb+resource statement and does not differentiate it from sibling tools.

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 gives no guidance on when to use this tool versus the sibling tools check_vehicle_access, query_movein_allowance, or get_daily_costs. The non-live adapter caveat implies limited reliability, but no explicit when-to-use or when-not-to-use conditions are provided.

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