Skip to main content
Glama

Es Tender Search

es_tender_search
Read-onlyIdempotent

Keyword search over SPANISH government tender notices, Spain public procurement / licitaciones / contratación pública from PLACSP (Plataforma de Contratación del Sector Público, contrataciondelestado.es). Case-insensitive match against tender title (objeto del contrato), contracting body name (órgano de contratación), CPV classification codes, and expediente id. Use SPANISH keywords for best recall (e.g. "obras", "limpieza", "software", "energía", "ayuntamiento de madrid") since titles and buyer names are in Spanish; a CPV code prefix like "45" or "72" also works. Returns compact shaped contract notices with buyer, status, EUR amounts, CPV codes, procedure, deadline, and notice URL. Set pages: 2 or 3 to also walk older archive pages of the feed when the first page yields few matches.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "obras carreteras"
    },
    "name": "es_tender_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax matching notices to return (default 20, max 100).
pagesNoHow many feed pages to scan, 1-3 (default 1 = ~185 latest notices). Each extra page adds ~185 older notices but also several MB of transfer, raise only when page 1 returns few matches.
queryYesKeyword(s), case-insensitive substring match. Spanish terms match best ("carreteras", "servicios de limpieza", "Generalitat"); a CPV code or prefix ("45", "72000000") matches the classification codes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pages / description
      Previous value: -"How many feed pages to scan, 1-3 (default 1 = ~185 latest notices). Each extra page adds ~185 older notices but also several MB of transfer — raise only when page 1 returns few matches."New value: +"How many feed pages to scan, 1-3 (default 1 = ~185 latest notices). Each extra page adds ~185 older notices but also several MB of transfer, raise only when page 1 returns few matches."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "obras carreteras"
      +  },
      +  {
      +    "limit": 20,
      +    "pages": 2,
      +    "query": "servicios de limpieza"
      +  },
      +  {
      +    "query": "45"
      +  }
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: case-insensitive substring matching, feed-page scanning of ~185 notices per page, and a cost warning that each extra page adds several MB of transfer. Auth, rate limits, and result ordering are not discussed.

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?

One dense paragraph, front-loaded with what the tool searches and the language requirement, followed by matching semantics, return shape, and the pages caveat. There is some duplication of the schema's parameter text, but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description lists what comes back (buyer, status, EUR amounts, CPV codes, procedure, deadline, notice URL) and explains the coverage limit of the feed (1-3 pages of ~185 notices). For a 3-parameter read tool with full annotation coverage, nothing essential is missing.

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 all three parameters are already documented, and the description largely restates that content (Spanish terms, CPV prefix, pages 1-3 with few-match trigger). It adds only marginal meaning beyond the schema, so the 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 and resource: keyword search over Spanish government tender notices from PLACSP, and enumerates the exact fields matched (título/objeto del contrato, órgano de contratación, CPV, expediente id). The 'keyword search' framing plus the explicit source makes it distinguishable from status- or recency-oriented sibling lookups without opening any schema.

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 usage context: use Spanish keywords for best recall, CPV prefixes like '45' or '72' also work, and raise pages to 2-3 only when the first page yields few matches. It does not explicitly name an alternative tool or state when-not to use this one, so it falls short of a 5.

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.