fr_decp_get_contract
Pack: fr-decp · 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/fr_decp_get_contract for the schema, then POST the same URL with its arguments for the data.
Fetch a single French public-contract award (DECP) by its unique record id (uid), as returned by fr_decp_search_contracts. Returns the full award record: buyer, supplier SIRET, amount, dates, CPV, procedure, duration, and geography for both parties.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | yes | The DECP record uid from a fr_decp_search_contracts result, e.g. “217500016000192026F10374_32300000”. |
Example call
Arguments
{
"uid": "217500016000192026F10374_32300000"
}
curl
curl -X POST https://gateway.pipeworx.io/fr-decp/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fr_decp_get_contract","arguments":{"uid":"217500016000192026F10374_32300000"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('fr_decp_get_contract', {
"uid": "217500016000192026F10374_32300000"
});
Response shape
| Field | Type | Description |
|---|---|---|
contract | object | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"contract": {
"type": "object",
"properties": {
"uid": {
"type": "string"
},
"contract_id": {
"type": "string"
},
"nature": {
"type": "string"
},
"type": {
"type": "string"
},
"object": {
"type": "string"
},
"amount_eur": {
"type": "number"
},
"cpv_code": {
"type": "string"
},
"procedure": {
"type": "string"
},
"notification_date": {
"type": "string"
},
"data_published_date": {
"type": "string"
},
"duration_months": {
"type": "number"
},
"offers_received": {
"type": "number"
},
"buyer": {
"type": "object",
"properties": {
"siret": {
"type": "string"
},
"name": {
"type": "string"
},
"category": {
"type": "string"
},
"department": {
"type": "string"
},
"region": {
"type": "string"
}
},
"additionalProperties": true
},
"supplier": {
"type": "object",
"properties": {
"siret": {
"type": "string"
},
"name": {
"type": "string"
},
"category": {
"type": "string"
},
"activity": {
"type": "string"
},
"department": {
"type": "string"
},
"region": {
"type": "string"
}
},
"additionalProperties": true
},
"execution_place_code": {
"type": "string"
}
},
"additionalProperties": true
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
}
},
"additionalProperties": true
}
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 fr-decp pack
{
"mcpServers": {
"fr-decp": {
"url": "https://gateway.pipeworx.io/fr-decp/mcp"
}
}
}
See Getting Started for client-specific install steps.