Skip to main content
Glama
Auto Ontology MCP

Auto Ontology MCP

Get unmodeled tables worklist

get_modeling_worklist
Read-onlyIdempotent

Fetches the next batch of unmodeled or updated database tables with column profiles, foreign keys, linked terms, and modeling rules so you can build an ontology and save table terms until none remain.

Instructions

Fetch the next batch of unmodeled database tables (or modeled tables with newly scanned columns), including candidate column profiles, foreign keys, linked Terms, and modeling rules. Use while building an ontology over a SQL database, paired with save_table_terms until remaining is 0; use define_entity for personal knowledge entities and describe_table to inspect one table without modeling rules. Returns tables, remaining count, and current_terms for tables with new columns.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum unmodeled or updated tables to return (1-10).
tablesNoSpecific table names to model or re-model instead of the next pending batch.
datasourceNoDatasource name. Optional when only one datasource is registered.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.6.2
    • changedInput schema / properties / limit / description
      Previous value: -"Tables to return (1-10)."New value: +"Maximum unmodeled or updated tables to return (1-10)."
    • addedInput schema / properties / limit / maximum
      Added value: +10
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / tables / description
      Previous value: -"Specific tables to (re)model instead of the next pending ones."New value: +"Specific table names to model or re-model instead of the next pending batch."
  2. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds real value beyond them by disclosing the iterative batch/worklist semantics and the fact that the response carries a 'remaining' counter that governs loop termination. It does not mention batching cost or what happens when tables are exhausted beyond 'remaining is 0', a minor gap.

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 core action, then usage and alternatives, with zero filler sentences. The enumeration of returned fields is somewhat redundant given a dedicated output schema exists, which keeps it from a 5.

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 read-only, idempotent worklist tool with a full output schema and 100% schema description coverage, the description supplies everything an agent still needs: the workflow it belongs to, the loop termination signal, and the sibling tools to use for adjacent jobs. No prerequisites or calling context are missing.

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 description coverage is 100%, and all three parameters (limit, tables, datasource) carry their own descriptions, so the schema does the heavy lifting and baseline 3 applies. The description hints at the 'next pending batch' vs. explicit-table selection mode, which slightly reinforces 'tables', but adds no syntax, format, or default guidance beyond the 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 ('Fetch the next batch of unmodeled database tables') plus the exact scope (newly scanned columns count as work) and the payload contents (column profiles, foreign keys, linked Terms, modeling rules). It is clearly distinguishable from describe_table (single-table inspection) and define_entity (personal knowledge entities), both named in the text.

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?

Explicitly names the workflow it belongs to ('while building an ontology over a SQL database'), the pairing tool and loop condition ('paired with save_table_terms until remaining is 0'), and two alternatives with the conditions that select them (define_entity for personal entities, describe_table for single-table inspection without modeling rules).

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