Skip to main content
Glama
Latvian Competition MCP

Latvian Competition MCP

lv_comp_search_decisions

Search Latvian Competition Council enforcement decisions by full text to find cases, parties, outcomes, fines, and cited competition law articles; filter by decision type, sector, or outcome.

Instructions

Full-text search across CC enforcement decisions (abuse of dominance, cartels, sector inquiries) under Latvian competition law (KL). Returns matching decisions with case number, parties, outcome, fine amount, and KL 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": "lv_comp_search_decisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by decision type. Optional.
limitNoMaximum number of results to return. Defaults to 20.
queryYesSearch query (e.g., 'dominējošā stāvokļa ļaunprātīga izmantošana', 'kartelis', 'koncentrācija')
sectorNoFilter by sector ID (e.g., 'telecommunications', 'energy', 'retail'). Optional.
outcomeNoFilter by outcome. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden: it establishes this is a read/search operation and enumerates the return fields (case number, parties, outcome, fine amount, KL articles cited), which is genuinely useful given there is no output schema. It does not mention result ordering, pagination beyond the limit parameter, or whether snippet/highlighting behavior exists, so the safety-and-shape picture is only partly covered.

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?

Two sentences, front-loaded with the search scope and followed by the return payload; nothing is redundant. The return-field enumeration is slightly list-like but earns its place because no output schema exists.

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 five-parameter search tool with no annotations and no output schema, the description covers purpose, domain, and return shape adequately. One gap: the type enum includes 'merger' but the description's parenthetical scope omits mergers, which could lead an agent to wrongly assume merger decisions are unsearchable here.

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% and both enums are documented in-schema (type, outcome), with sector examples and a stated default of 20 for limit, so the schema does the heavy lifting. The description adds no filter semantics beyond what the schema already declares, matching the baseline 3 for full coverage.

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?

The description gives a specific verb and resource — 'Full-text search across CC enforcement decisions' — plus the legal domain (Latvian competition law, KL). It implicitly scopes itself away from mergers by enumerating abuse of dominance, cartels, and sector inquiries, which aligns with the separate lv_comp_search_mergers sibling, but it never states that distinction explicitly.

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?

'Full-text search' implies keyword-based lookup as opposed to retrieving a known decision by ID, so usage is inferable rather than stated. There is no explicit when-to-use guidance, no mention of when to prefer lv_comp_get_decision or lv_comp_search_mergers, and no note on combining keyword search with the structured filters.

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