Skip to main content
Glama
edwin042331-hue

dgcp-mcp-server

Buscar contratos adjudicados y firmados (DGCP)

dgcp_buscar_contratos
Read-onlyIdempotent

Search Dominican public contracts awarded to suppliers, filtering by institution, process code, or amount, to find winners, payment terms, and signing dates.

Instructions

Consulta contratos firmados y adjudicados por instituciones del Estado dominicano con proveedores. Campos VERIFICADOS contra la API real (/contratos).

Permite saber quien gano licitaciones anteriores, los montos adjudicados, formas de pago y fechas de firma. La API descarga varias paginas y filtra localmente por termino, codigo de proceso, institucion o proveedor.

Args: termino, codigo_proceso, institucion, proveedor, rpe, estado_contrato, monto_min, monto_max, paginas, limite.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rpeNoNumero de Registro de Proveedores del Estado (RPE) del adjudicatario.
limiteNoCuantos resultados devolver (default 10)
paginasNoCuantas paginas de la API escanear (default 5, 100 contratos c/u)
terminoNoTexto a buscar en descripcion, codigo de contrato o proceso, proveedor o institucion.
monto_maxNoMonto maximo contratado en DOP
monto_minNoMonto minimo contratado en DOP
proveedorNoNombre o razon social de la empresa adjudicataria.
institucionNoNombre o parte del nombre de la institucion (unidad de compra).
codigo_procesoNoCodigo del proceso de licitacion asociado (ej. 'HLA-DAF-CD-2026-0121').
estado_contratoNoEstado del contrato (ej. 'Activo', 'Cerrado', etc.).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuinely non-obvious behavior: the API fetches multiple pages and filters locally by termino/codigo/institucion/proveedor, which tells the agent that result completeness depends on the paginas argument — context no annotation supplies.

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?

Front-loads purpose and payoff, then the local-filtering caveat, then a compact arg list. Every line carries information; only the 'Campos VERIFICADOS' aside is slight filler.

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?

For a fully-optional, read-only search tool with 100% schema coverage and annotations covering safety, the description adds the one thing the schema cannot: that filtering is client-side across a bounded page scan. It hints at returnable fields (montos, formas de pago, fechas) even without an output schema. Adequate, with only the exact result shape left implicit.

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 100%, so every parameter is already documented in the schema. The description only restates the argument names ('Args: termino, codigo_proceso, institucion...') without adding format, default, or interaction semantics beyond the schema. Baseline 3 applies.

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 (Consulta) and resource (contratos firmados y adjudicados por instituciones del Estado dominicano), and the resource noun alone distinguishes it from the licitaciones/ofertas/proveedores siblings. The parenthetical API endpoint reference (/contratos) reinforces the scope.

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?

The description frames the payoff ('permite saber quien gano licitaciones anteriores, los montos...') which implies use cases, but never states when to pick this over dgcp_buscar_licitaciones or dgcp_buscar_ofertas, nor any exclusions. Usage is inferable, not explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.