Skip to main content
Glama

Start ontology maintenance

start_ontology_maintenance

Request fresh ontology statistics for every exposed, non-dismissed table, or narrow the selection with entities. Returns stored work status and completeness immediately; the background runner measures after commit. Declared datasources cannot be measured. Repeated requests by the same session within one minute share work; later calls request fresh measurements. Administrator only.

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_maintenance"
  }
}

Input Schema

NameRequiredDescriptionDefault
entitiesNoOptional exposed table names, namespace-qualified or unambiguous bare names; omit to measure every eligible table
datasourceYesDatasource UUID to maintain

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false. The description adds real value on top: asynchronous execution, immediate stored-status return, the one-minute work-sharing window, the declared-datasource restriction, and an administrator-only permission requirement. Missing are what happens on failure or how long measurements take, so it is strong but not exhaustive.

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?

Four dense sentences, front-loaded with the action and scope before behavioral caveats. Every clause carries information an agent needs: eligibility, asynchronous semantics, rate behavior, and permissions.

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?

With no output schema, the description carries the return-value burden and does it well: stored work status and completeness are returned immediately and measurement happens in the background. Permissions, deduplication, and a hard exclusion are all covered; only post-request follow-up guidance is thin.

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?

Schema coverage is 100%, so the schema already documents both parameters, setting the baseline at 3. The description adds the meaningful constraint that declared datasources cannot be measured and explains entity selection behavior, but offers no name-resolution details beyond what the schema's own description states.

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: request fresh ontology statistics for exposed, non-dismissed tables, optionally narrowed by entities. It implicitly distinguishes itself from read-style siblings by noting it returns stored status immediately while a background runner measures after commit, though it never names the alternative tools an agent should use to poll.

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 concrete selection guidance: omit entities to measure every eligible table, narrow with entities otherwise, and declared datasources cannot be measured. The one-minute session dedup rule tells the agent the effect of calling again. No explicit exclusions or named alternative tools are given.

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