Skip to main content
Glama

Start ontology extraction

start_ontology_extraction
Idempotent

Start or resume this datasource's ontology extraction: plan its stored work, wake the background runner, and return work status, completeness and statistics_warnings for tables measured empty immediately. After loading data, request start_ontology_maintenance for the affected tables even if those measurements are recent. Measurement never runs inside this call, so a slow warehouse cannot time it out. Idempotent.

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": {
      "datasource": "<datasource>"
    },
    "name": "start_ontology_extraction"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasourceYesDatasource UUID to start

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), the description discloses the key operational trait: the call is asynchronous — measurement never runs inline, so a slow warehouse cannot time it out, and the work is queued by waking a background runner. It also names the returned fields. The only redundancy is repeating 'Idempotent', which the annotation already declares.

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?

The most important information — what the call does and its non-blocking nature — is front-loaded, and there is no filler. The opening sentence is long and clause-heavy, and the trailing 'Idempotent.' is a one-word fragment that duplicates the annotation rather than earning its place.

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?

There is no output schema, but the description compensates by naming the returned values (work status, completeness, statistics_warnings for tables measured empty). Combined with the async disclosure and the maintenance follow-up rule, an agent has everything needed to call this correctly on a one-parameter tool.

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

Parameters3/5

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

With a single parameter at 100% schema description coverage, the schema already explains that 'datasource' is a datasource UUID. The description only implies the same via 'this datasource's ontology extraction' and adds no syntax, format, or constraint detail. Baseline 3 applies when the schema does the heavy lifting.

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?

The description states a specific verb pair (start or resume) and a specific resource (this datasource's ontology extraction), then enumerates the concrete effects: plan stored work, wake the background runner, return work status, completeness, and statistics_warnings. It is clearly separable from start_ontology_maintenance and the read-only status siblings named in context.

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

Usage Guidelines5/5

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

It names an alternative explicitly — 'After loading data, request start_ontology_maintenance for the affected tables even if those measurements are recent' — and gives the condition that selects it, including an explicit override of the recency objection. That is a genuine routing rule rather than implied usage.

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