Skip to main content
Glama

Request a column measurement

request_ontology_work

Ask the server to measure one exposed column instead of running a long query yourself. kind is stage_values, enum_distribution, fk_overlap or relationship_candidates; entity is the table, path its column. Returns the item id and current status; follow the id with get_ontology_work's requested_item_ids to read the outcome once it completes (and, for a value-reading kind, the staged values you are entitled to). The read-back is scoped to the caller that asked. stage_values and enum_distribution are refused for a withheld column.

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>",
      "kind": "<kind>",
      "entity": "<entity>"
    },
    "name": "request_ontology_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesstage_values, enum_distribution, fk_overlap, or relationship_candidates
pathNoColumn path inside the table
entityYesExposed table name, optionally namespace-qualified
datasourceYesDatasource UUID that owns the column

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?

Goes well beyond the annotations by disclosing that the work is asynchronous (returns only an item id and status), that results are read back through a different tool, that the read-back is scoped to the calling identity, and that two kinds are rejected for withheld columns. These are non-obvious behavioral constraints an agent could not derive from readOnlyHint/destructiveHint/idempotentHint alone.

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, then the kind/entity/path mapping, then the return-and-follow-up contract. Dense but every clause carries information; only the parenthetical about staged values is slightly convoluted.

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?

With no output schema, the description carries the return contract itself and does so fully: it names what comes back (item id plus status) and exactly how to convert that into results via a sibling tool. Nothing needed to invoke or follow through is missing.

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 real meaning: it maps entity to the table and path to its column, restates the exact kind vocabulary, and ties kind choice to the withheld-column refusal rule. That lifts it above what the schema alone conveys.

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 (measure) and resource (one exposed column), enumerates the four supported measurement kinds, and explicitly contrasts itself with the alternative of running a long query. An agent can identify what this does 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?

Tells the agent to use this instead of a long ad-hoc query, gives the follow-up path (get_ontology_work with requested_item_ids) for retrieving results, and notes the refusal case for withheld columns. It does not set this against other column-level siblings like probe_column or get_column_metadata, but the core when-to-use and next-step guidance is clear.

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