Skip to main content
Glama

Opendatasoft Facets

opendatasoft_facets
Read-onlyIdempotent

Retrieve distinct values and counts for a named facet field within an Opendatasoft dataset; useful for enumerating categories or filtering options before querying records.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "facet": "cou_name_en",
      "dataset_id": "geonames-all-cities-with-a-population-1000"
    },
    "name": "opendatasoft_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
facetYes
instanceNo
dataset_idYes

Output Schema

NameRequiredDescriptionDefault
facetsNoArray of facet items

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds that the result is distinct values with counts, which is genuinely behavioral, but says nothing about which instance is queried by default, error behavior for unknown facets, or result size — gaps that matter for an open-world call.

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?

A single front-loaded sentence with no filler; the purpose comes first and the usage hint second. Nothing could be removed without losing meaning.

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?

An output schema exists, so return shape need not be explained, and the core purpose is clear. However, with zero schema description coverage the absence of any explanation for 'instance' (and validation behavior for a bad facet name) leaves an agent guessing on a required part of the call.

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 0% across three parameters, so the description must carry the load. It clarifies 'facet' (a named facet field) and implies 'dataset_id' identifies the dataset, but the 'instance' parameter is never mentioned at all, even though the schema example shows it switching hosts.

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: 'Retrieve distinct values and counts for a named facet field within an Opendatasoft dataset.' This is concrete enough to distinguish it from the record-querying siblings it alludes to ('before querying records'), though it never names the sibling directly.

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

Usage Guidelines4/5

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

Gives a clear usage context: 'useful for enumerating categories or filtering options before querying records,' which tells the agent to call this ahead of a records query. It stops short of explicit exclusions or naming the specific alternative tool to use afterward.

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.