Skip to main content
Glama
Onisep Open Data MCP Server

Onisep Open Data MCP Server

by KS-GEN-AI

search_dataset

Search Onisep educational datasets to find programs, schools, and certifications by query and filters such as region, commune, school type, or education level.

Instructions

Search for educational programs, schools, or certifications within a specific dataset. METHODOLOGY: Use this tool THIRD after selecting the right dataset. For training programs: use query="BTS commerce", query="ingenieur", etc. For location: use facets={"ens_commune": "Lyon"}, facets={"ens_region": "Ile-de-France"}. For school type: use facets={"ens_statut": "public"}. For education level: use facets={"for_niveau_de_sortie": "bac + 2"}. Always start with broad searches then refine with facets. Returns detailed information including program names, school addresses, contact details, costs, and admission requirements.

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_code": "<dataset_code>"
    },
    "name": "search_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoIndex of the first result to return (pagination, starts at 0)
sizeNoMaximum number of results to return (max 1000, default: 10). Use larger values for comprehensive searches.
sortNoField to sort by (e.g., "name", "-name" for descending, "createdAt", "-createdAt")
queryNoSearch terms (e.g., "BTS commerce", "ingenieur informatique", "medecine", "lycee paris", school names, program codes)
facetsNoAdvanced filters as key-value pairs. Common filters: {"ens_region": "Ile-de-France"}, {"ens_departement": "Rhône"}, {"ens_commune": "Lyon"}, {"for_type": "brevet de technicien supérieur"}, {"ens_statut": "public"}
dataset_codeYesThe dataset code to search in (e.g., "605344579a7d7" for national higher education, "5fa4308053aa1" for Auvergne-Rhône-Alpes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden. It does disclose return content (program names, addresses, contacts, costs, admission requirements), which is useful given there is no output schema, but it says nothing about facet combination semantics (AND vs OR across keys), exact vs partial matching, or a total-result count, which materially affect how the agent should query.

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 a one-sentence purpose, then a labeled METHODOLOGY block with parallel, scannable examples. The repeated "for X: use facets={...}" pattern is slightly formulaic but each example carries distinct information, so little is wasted.

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 6-parameter search tool with a nested facets object and no output schema, the definition covers purpose, ordering, query strategy, and return content. The remaining gap is the semantics of combining multiple facet keys and how facet values are matched, which an agent would still have to guess.

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 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: it gives concrete query strings ("BTS commerce", "ingenieur") and facet value samples, and introduces a facet key ("for_niveau_de_sortie") not listed in the schema's facet description. It also frames the intended query-then-facet workflow rather than just restating parameter names.

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 ("Search for educational programs, schools, or certifications") and scopes it to "within a specific dataset", which distinguishes it from the metadata-oriented siblings like get_dataset_info and list_catalogs. An agent can tell what this tool returns without opening the schema.

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?

Explicit sequencing guidance ("Use this tool THIRD after selecting the right dataset") plus a concrete strategy ("Always start with broad searches then refine with facets") and worked examples for each facet dimension. It does not name alternatives or state when NOT to use this tool, so it stops short of full routing guidance, but the when-to-use context is clear.

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