Skip to main content
Glama

List ID datasets (TogoID)

togoid_getAllDataset
Read-only

Lists all TogoID datasets with label, URI prefix, example IDs, and both original and Python-compatible ID regex patterns so you can validate or convert identifiers safely.

Instructions

List all databases registered in TogoID with their ID formats.

Returns configuration for every dataset TogoID knows about, including:

  • label: Human-readable database name

  • regex: Pattern for validating IDs, AS SERVED BY TogoID

  • regex_flavor: dialect of regex — currently always "ecmascript"

  • regex_python: the same pattern rewritten for Python's re (ADDED HERE)

  • prefix: URI prefix for linked data

  • examples: Sample IDs you can use to test conversions

⚠️ regex IS NOT PYTHON-COMPATIBLE. TogoID publishes .NET/JavaScript named groups — (?<id>...) — which re.compile rejects outright for all 119 datasets. Use regex_python, which this tool adds beside the original. Never wrap the compile of regex in a bare try/except: that converts "cannot compile" into "matches nothing", i.e. a silently wrong answer.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real operational context, notably that all 119 datasets publish .NET/JavaScript named groups that Python's re rejects, and it warns against the bare try/except failure mode that turns a compile error into a silently wrong answer. That is meaningful behavior beyond the annotations; it stops short of describing pagination or response shape, though an output schema exists.

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?

Front-loaded with the purpose sentence, then a scannable field list, then a clearly delimited caveat — a logical order with no filler. It is on the long side and leans on caps/bold/emoji emphasis for the warning, but every section carries distinct information.

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

Completeness5/5

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

For a zero-parameter, read-only listing tool with an output schema and full annotation coverage, the description supplies everything an agent needs: what is returned, the field meanings, and the one trap (regex vs regex_python) that would otherwise cause incorrect downstream calls.

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?

Zero parameters, so the baseline is 4; nothing is required to compensate for. The description instead spends its space defining return fields (label, regex, regex_flavor, regex_python, prefix, examples), which is genuinely useful even if partly duplicated by the output schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List all databases registered in TogoID') plus the payload ('with their ID formats'), which cleanly separates it from the singular sibling togoid_getDataset. An agent can tell what it returns without opening the output schema.

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: mentioning 'Sample IDs you can use to test conversions' hints this is a discovery step before conversion tools like togoid_convertId, but there is no explicit when-to-use or when-to-prefer-togoid_getDataset statement. No exclusions or prerequisites are stated.

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