Skip to main content
Glama
Spanish Competition MCP

Spanish Competition MCP

es_comp_search_decisions

Search CNMC enforcement decisions by query, type, sector, or outcome to retrieve case numbers, parties, fines, and cited LDC articles.

Instructions

Full-text search across CNMC enforcement decisions (abuse of dominance, cartel, sector inquiries). Returns matching decisions with case number, parties, outcome, fine amount, and LDC articles cited.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "es_comp_search_decisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by decision type. Optional.
limitNoMaximum number of results to return. Defaults to 20.
queryYesSearch query in Spanish (e.g., 'abuso posición dominante', 'cártel precios', 'acuerdos anticompetitivos')
sectorNoFilter by sector ID (e.g., 'energia', 'telecomunicaciones', 'alimentacion'). Optional.
outcomeNoFilter by outcome. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/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 usefully disclose the return shape (case number, parties, outcome, fine amount, LDC articles) despite there being no output schema. It says nothing about read-only semantics, result ordering, pagination beyond the schema's limit, or rate limits, so behavioral coverage is partial.

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?

Two front-loaded sentences with no filler: the first establishes what is searched, the second what comes back. Every clause earns its place.

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

Completeness3/5

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

The return-field summary compensates for the absent output schema, but the description never resolves the merger overlap with es_comp_search_mergers and gives no guidance on drilling into a specific decision via es_comp_get_decision. For a five-parameter search tool with siblings that overlap its scope, that is a meaningful gap.

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 five parameters (including both enums and the Spanish-language query examples) are already documented, giving a baseline of 3. The description adds nothing about filter combination behavior or how the query string interacts with the type/sector/outcome filters, so it does not exceed the schema.

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?

Specific verb and resource ('Full-text search across CNMC enforcement decisions') plus an enumerated scope of decision types, so an agent knows exactly what corpus is searched. It does not explicitly distinguish itself from the sibling es_comp_search_mergers, and it omits 'merger' from the type list even though the schema enum includes it, leaving a small ambiguity about boundary with that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No statement of when to use this versus es_comp_get_decision or es_comp_search_mergers, and no prerequisites. The only guidance is implicit in the words 'full-text search', which an agent must interpret on its own.

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