Skip to main content
Glama

Export Filtered Dataset Slice

dclo_export_slice
Read-onlyIdempotent

Exports any filtered data-centre litigation dispute slice as RFC-4180 CSV or structured JSON for R, Stata, Python/pandas, or statistical analysis.

Instructions

Export any filtered DC/LO dispute slice as clean RFC-4180 CSV or structured JSON ready for R, Stata, Python/pandas, or statistical analysis.

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": "dclo_export_slice"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo
queryNo
formatNoExport format: "csv" (default) or "json".
statusNo
outcomeNo
year_toNo
max_rowsNoMaximum rows to export (default 250, max 1000).
operatorNo
directionNo
year_fromNo
scale_classNo
jurisdictionNo
climate_raisedNo
moratorium_onlyNo
legal_basis_familyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so safety is covered. The description adds useful context about output encoding and downstream consumers (R, Stata, pandas), but says nothing about whether the export is written to a file or returned inline, nor about the 1000-row ceiling or how the 15 filters combine.

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 front-loaded sentence with no filler; the verb and output formats come first. It is efficient, though efficiency here comes at the cost of the missing detail scored elsewhere.

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

Completeness2/5

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

A 15-parameter tool with no output schema and 13% schema coverage needs the description to explain filter semantics and the shape of the export result. Neither is provided, and the core ambiguity of 'export' (file path, download, or inline payload) is unresolved.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 13% across 15 parameters; only 'format' and 'max_rows' are documented in the schema. The description mentions formats but never explains 'query', 'operator', 'direction', 'status', 'outcome', 'scale_class', 'legal_basis_family', or the year_from/year_to pairing, so the heavy coverage gap is left unfilled.

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 concrete verb and resource ('Export ... dispute slice') plus the two output encodings (RFC-4180 CSV, structured JSON). It does not distinguish itself from sibling tools such as dclo_search_disputes, which presumably produce the 'filtered slice' referenced here, so an agent must infer the pipeline relationship.

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?

Usage is only implied by the phrase 'any filtered ... slice', which suggests this is a downstream export step after filtering elsewhere. There is no explicit when-to-use/when-not guidance, no naming of the sibling that builds the filter, and no note on result limits or repeat-call behavior.

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