Skip to main content
Glama

APIEmpresas: Spanish company data

Contratos públicos

get_public_contracts
Read-onlyIdempotent

Contratos del sector público adjudicados a una empresa (Plataforma de Contratación del Sector Público): organismo, objeto, importe y fecha. Plan Business.

Input Schema

NameRequiredDescriptionDefault
cifYesCIF/NIF de la sociedad española, p. ej. A46103834 (se aceptan espacios y guiones)
pageNoPágina (por defecto 1)
limitNoContratos por página (por defecto 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: the underlying data source and the Business-plan access requirement. It omits pagination behavior and result-size characteristics, which keeps it from a 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?

A single dense sentence that front-loads the resource, the source and the returned fields with no filler. Every clause earns its place.

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, the description usefully enumerates the fields returned (organismo, objeto, importe, fecha), and annotations cover the safety profile. Gaps: pagination behavior and how to distinguish from search_tenders are unaddressed.

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% – cif format, page and limit defaults are all documented in the schema. The description adds nothing about parameter semantics, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (public-sector contracts awarded to a company), names the source registry (Plataforma de Contratación del Sector Público) and lists the returned fields (organismo, objeto, importe, fecha). An agent can tell it retrieves awarded contracts per company, though it doesn't explicitly contrast with the sibling search_tenders.

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 trailing 'Plan Business' signals a subscription prerequisite, which is useful context, but there is no explicit statement of when to use this versus search_tenders or the other company-data siblings. Usage is implied by the resource description only.

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.