Skip to main content
Glama

diario_republica

What the latest Diário da República issue published, with a link to each act.

Args: series: 1 (laws, decree-laws, ordinances, government resolutions; default) or 2 (dispatches, notices, appointments, tenders: hundreds per day). query: optional words to filter titles and summaries, e.g. "IRS", "habitação", "Saúde".

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
seriesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add real behavioral context that the schema cannot: series 2 yields 'hundreds per day,' warning the agent about result volume, and it states that output includes a link per act. However, it says nothing about the `limit` cap, ordering, pagination, or whether results are a fixed snapshot — gaps that matter for a high-volume feed.

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?

Purpose is front-loaded in the first sentence, with parameter detail correctly demoted to an Args block. The prose is tight and every clause carries information. The raw 'Args:' formatting is slightly schema-like rather than descriptive prose, but it is efficient and readable.

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?

An output schema exists, so return values need not be described and the link-per-act note is a bonus. For a three-parameter tool the definition is nearly adequate, but omitting `limit` leaves the agent unable to reason about result size, especially given the explicit warning that series 2 produces hundreds of entries per day.

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 all parameter meaning must come from the description. It documents `series` thoroughly (enum-like values with the document classes each contains) and `query` with concrete filter examples ('IRS', 'habitação', 'Saúde') plus a note that it matches titles and summaries. The third parameter, `limit` (default 30), is never mentioned, leaving one of three parameters entirely unexplained even though it directly controls result volume.

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 gives a concrete verb and resource: it returns what the latest Diário da República issue published, with a link per act. That is far more specific than a title restatement. No sibling in the catalog covers Portuguese official gazettes, so there is nothing meaningful to differentiate against, which is the only reason this falls short of a 5.

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?

Guidance is implicit rather than explicit: 'latest issue' tells the agent this is a current-snapshot tool, and the series notes explain which corpus to pick (series 1 for laws/decree-laws/ordinances, series 2 for dispatches/notices/appointments/tenders). There is no statement of when not to use it, no mention of whether older issues are reachable here, and no alternatives named.

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.