Skip to main content
Glama

porto_road_closures

Streets in Porto with traffic or parking restrictions active on a day (default today).

Args: near: a street name ("Rua de Santa Catarina", matches part of it) or a Porto postal code ("4000-457"); or pass lat/lon. radius_km: around a postal code or point (default 0.5, max 5). day: "YYYY-MM-DD" (default today); planned restrictions are known weeks ahead. kind: "all", "planned" (works, events, loading, scaffolding) or "unplanned" (accidents, burst pipes, fallen trees...). With no place, returns a city summary by reason plus the restrictions on the main streets.

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

Input Schema

NameRequiredDescriptionDefault
dayNo
latNo
lonNo
kindNoall
nearNo
limitNo
radius_kmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/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 and does disclose meaningful behavior: the radius is capped at 5 km, defaults to 0.5, the day defaults to today, and calling with no place degrades to a city-wide summary by reason. It omits the `limit` parameter's effect and says nothing about pagination or failure modes, which leaves some operational gaps.

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 lead sentence front-loads the resource and scope, then a compact Args block covers each filter without repetition. Raw docstring formatting is slightly rough, but every line carries information and nothing is padding.

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?

An output schema exists, so return values need not be explained, and the description still usefully sketches the no-place fallback case. Combined with the documented defaults and radius cap, an agent has enough to call this correctly; only the unexplained `limit` and the absence of any error/permission context keep it from full marks.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does for six of seven parameters: `near` accepts a partial street name, a postal code, or coordinates; `day` uses YYYY-MM-DD; `kind` is enumerated with concrete examples; `radius_km` has both default and max. Only `limit` (default 25) goes entirely unexplained, which keeps it below a 5.

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 first sentence names a concrete resource and scope ("Streets in Porto with traffic or parking restrictions active on a day"), which is far more specific than a restated title and implicitly separates it from geographic siblings such as lisbon_street_works. It stops short of an explicit sibling call-out, so an agent must infer the Porto-vs-Lisbon split from the place name alone.

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?

"planned restrictions are known weeks ahead" and the kind enumeration (works, events, loading, scaffolding / accidents, burst pipes, fallen trees) give real guidance on how to choose filters for a given question. However, there is no statement of when to prefer this tool over an alternative, nor any exclusion or precondition, so usage is only implied.

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.