Skip to main content
Glama

Pt Announcement Detail

pt_announcement_detail
Read-onlyIdempotent

Fetch one PORTUGUESE tender announcement by the internal "id" returned from pt_announcement_search. Returns the full record: IMPIC notice id, buyer (with NIF tax number), notice type, contract type(s), procedure model, base amount, CPV codes, lot descriptions, publish date, proposal deadline and window, and a link to the official notice document.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": 1
    },
    "name": "pt_announcement_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe announcement's internal id, from pt_announcement_search.

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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. With no output schema, the description carries the return-value burden and does so usefully by enumerating the record contents (IMPIC id, buyer+NIF, notice/procedure types, amounts, CPV codes, lots, dates, deadline, document link). It adds no auth, error, or pagination context, so it is not a full 5.

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 core action and id provenance, then the return payload. No filler and nothing that could be cut.

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?

For a read-only single-record fetch, the description covers provenance of the id, the full return shape (compensating for the absent output schema), and the annotations cover safety. An agent has everything needed to select and invoke it correctly.

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?

Single parameter at 100% schema description coverage; the schema already documents 'id' as the internal id from pt_announcement_search, and the description merely restates that same fact. Baseline 3 applies since the schema does the work and the description adds no new format or constraint detail.

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 specific verb (fetch) and resource (one Portuguese tender announcement) and scopes it to a single record by internal id. It names the sibling pt_announcement_search as the source of the id, letting an agent distinguish it from the search and from pt_contract_detail without opening a schema.

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 phrase 'by the internal id returned from pt_announcement_search' clearly establishes the prerequisite workflow (search first, then detail) and implicitly routes to the sibling for listing. It does not state explicit when-not conditions or an alternative for bulk retrieval, so it stops short of a 5.

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.