Skip to main content
Glama

Sanctions lists: OFAC SDN, UK, EU and US screening by Dennery AgentNative

Query a dataset

query_imported_dataset
Read-onlyIdempotent

Query every row by filter, sort and columns, with provenance, latest_record_date and checked_at (our last check). Free: unfiltered pages of 25 rows (skip to 475), newest first when the dataset has a date. Filtered, sorted or larger results are a query fee (USD 0.01 per non-empty result where a wallet purchase is possible); an unpaid request returns payment_required with matching_rows and the purchase call or alternatives.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "query_imported_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoFree up to 25.
skipNoFree up to 475.
whereNoAll must match. Each {field, op, value}: op is eq ne gt gte lt lte contains or in (value is an array).
selectNo
includeNoPer-sheet summaries; off by default.
order_byNoField name, or {field, dir}. A paid query.
dataset_idYeswarehouse_dataset_id from search.

Output Schema

NameRequiredDescriptionDefault
rowsNo
dataset_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), but the description adds genuinely new behavior: a per-result fee of USD 0.01, the free-tier caps, and the exact failure mode (payment_required with matching_rows plus a purchase call or alternatives). The fee unit is loosely phrased ('per non-empty result' could mean per row or per page), which leaves some ambiguity.

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 free/paid rule is front-loaded, which is correct, but the second sentence is a run-on stacking fees, wallet purchase, error codes, and alternatives in one breath. The list of return fields (provenance, latest_record_date, checked_at) is wasted space given an 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 read tool with an output schema and strong annotations, the description covers the expensive facts an agent needs: tier limits, fee triggers, and the payment_required recovery path. The remaining gap is sibling differentiation against query_any_dataset and aggregate_imported_dataset, which matters when several query tools are present.

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

Parameters4/5

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

Schema coverage is 86%, so the schema already documents top, skip, where, and include. The description still adds cost semantics the schema lacks: ordering is a paid query, filtering and sorting move a request out of the free tier, and 'larger results' cross the free limit. Its restatement of the 25/475 free caps duplicates what the schema properties already say.

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 specific verb and resource ('Query every row by filter, sort and columns') and names the data handed back (provenance, latest_record_date, checked_at). It does not distinguish itself from siblings like query_any_dataset, aggregate_imported_dataset or sample_imported_dataset, so an agent must infer that this one targets previously imported datasets.

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?

It implies usage through the pricing boundary: unfiltered pages of 25 (skip to 475) are free, while filtered, sorted, or larger results incur a fee, which tells an agent to page freely but think before filtering. It never states when to prefer a sibling such as aggregate_imported_dataset or sample_imported_dataset, nor which datasets qualify, leaving the choice implicit.

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.

Resources