Skip to main content
Glama

x402_ckan-latvia_get_v1_groups

Lists dataset groups from Latvia's open data portal (data.gov.lv) via the CKAN JSON API.

Instructions

ckan-latvia — Latvian open data portal (data.gov.lv), a CKAN instance. Search datasets, show dataset details, and list groups, organizations, tags and portal status. Keyless JSON API. [GET /v1/groups] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/groups

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_ckan-latvia_get_v1_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.1/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 does disclose real behavioral facts: no authentication required ('Keyless'), JSON response format, GET-only access, and a concrete cost of $0.005 USDC on four named chains. It omits what the paid call returns (a group list, its size, pagination), whether retries incur additional charges, and how the restart/operationId retry semantics interact with billing — notable gaps for a paid endpoint with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is short and front-loads the portal identity, but the opening sentence is a family-level blurb covering five unrelated operations, diluting focus for a groups-only endpoint. The trailing 'Example: /v1/groups' duplicates the '[GET /v1/groups]' marker, and the chain-ID pricing string ('eip155:8453+137+42161+480') is dense noise relative to its value.

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?

For a read-only list endpoint with full schema coverage and no output schema, the description covers identity, transport (keyless JSON), and cost — enough to call it. It does not describe the response shape (what a group record contains, list size, pagination) or clarify payment/retry behavior, which are the remaining things an agent would want before spending $0.005 per call.

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 the schema already documents all four parameters (body, query, restart, operationId) at baseline 3. The description adds nothing about parameters — it gives no example query values such as pagination or filtering options for a groups listing, and 'Example: /v1/groups' is a bare path with no arguments.

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 names the specific resource (Latvian open data portal, data.gov.lv, a CKAN instance) and includes 'list groups' among its capabilities, with the '[GET /v1/groups]' marker and 'Example: /v1/groups' pinning the operation. The portal name does separate it from the many ckan-* country siblings. However, the first sentence enumerates five different capabilities (search, package details, groups, organizations, tags, status), so the agent must cross-reference the endpoint tag to know which one this tool actually is.

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?

There is no when-to-use or when-not guidance. The description never says to prefer this over x402_ckan-latvia_get_v1_organizations or _search, nor does it state any condition (e.g., 'use when you need the group taxonomy rather than datasets'). The only usage-adjacent facts are 'Keyless JSON API' and the price, which are operational rather than routing guidance.

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

Deploy Server

Other Tools