pt_contract_detail
Pack: portugal-tenders · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/pt_contract_detail for the schema, then POST the same URL with its arguments for the data.
Fetch one PORTUGUESE awarded contract by its “idcontrato” (returned from pt_contract_search). Returns the full record: buyer and supplier (with NIF tax numbers), full title and description, amount, base procurement price, CPV codes, execution deadline, execution location(s), procedure type, publish/signing/decision dates, and the legal regime cited.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
idcontrato | string | yes | The contract’s id, e.g. “12026866”. Returned by pt_contract_search. |
Example call
Arguments
{
"idcontrato": "12026866"
}
curl
curl -X POST https://gateway.pipeworx.io/portugal-tenders/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pt_contract_detail","arguments":{"idcontrato":"12026866"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('pt_contract_detail', {
"idcontrato": "12026866"
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the portugal-tenders pack
{
"mcpServers": {
"portugal-tenders": {
"url": "https://gateway.pipeworx.io/portugal-tenders/mcp"
}
}
}
See Getting Started for client-specific install steps.