Skip to main content
Glama
pipaacebedo

seace-mcp

by pipaacebedo

buscar_ocos

Search purchase and service orders (OC/OS) registered in SEACE by year, month, RUC, or entity, returning key order details and paginated results.

Instructions

Busca ORDENES DE COMPRA Y ORDENES DE SERVICIO (OC/OS) registradas en el SEACE.

Args: anio: anio de la orden (OBLIGATORIO; ej '2026'). mes: mes de la orden (OBLIGATORIO; '9' o 'setiembre'). ruc: RUC de la entidad o del contratista (OBLIGATORIO); hallalo con buscar_entidades. entidad: nombre exacto de la entidad (opcional). pagina: numero de pagina (15 filas por pagina). paginas: paginas consecutivas a traer en una llamada (1..8). ses: sesion de una busqueda previa para pedir 'siguiente_pagina' o re-buscar; con filtros distintos la busqueda se re-ejecuta conservando el mismo 'ses' (no se emite id nuevo).

Devuelve: Filas con nro, entidad, tipo_orden ('O/C' u 'O/S'), numero, objeto_descripcion, fecha_ini, fecha_fin, monto, ruc, entidad_rap, situacion y plazo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mesNo
rucNo
sesNo
anioNo
paginaNo
entidadNo
paginasNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose return columns, page size (15 filas por pagina), the paginas range (1..8), and the session-reuse rule (re-executing with the same 'ses' without emitting a new id). It does not state permissions/auth or read-only status, but the behavioral coverage is well above average for a search tool.

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-loaded purpose followed by structured Args/Devuelve blocks, so an agent can scan it quickly. It is somewhat verbose, but nearly every line (format examples, return fields, session rule) carries information an agent would otherwise lack.

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?

With no output schema and no annotations, the description supplies the return field list, pagination rules, and session semantics, which is substantial. Minor gaps remain (no-results/error behavior, explicit read-only statement, and a mismatch where the text calls anio/mes/ruc OBLIGATORIO while the schema marks them nullable).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description documents all 7 parameters: marks anio/mes/ruc as required with format examples ('2026', '9' o 'setiembre'), explains entidad as exact name, defines pagina/paginas semantics, and clarifies ses reuse behavior. This fully compensates for the empty schema.

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 (Busca) and resource (ORDENES DE COMPRA Y ORDENES DE SERVICIO, OC/OS) plus the source system (SEACE). This clearly distinguishes it from siblings like buscar_contratos, buscar_procesos, and buscar_cco.

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?

Gives concrete guidance: RUC 'hallalo con buscar_entidades', and explains the ses parameter for requesting siguiente_pagina or re-searching with different filters. It lacks explicit when-not-to-use or a direct sibling alternative for order-vs-contract queries, but the operational context is clear.

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