Skip to main content
Glama

Scan data for changes

scan_data_changes

Scan data for changes like new enum values and potential FK patterns. Creates pending changes for review. Use after data updates to keep ontology current. If some checks could not be made — an unreadable column, a datasource that stopped answering — the changes that were found are still returned and saved, with a "warning" field saying the coverage was partial. An empty change list with a warning does not mean nothing changed. Enum candidates the scan refuses to propose — a column holding personal data, or one whose few distinct values are just the few rows of a small table — are listed in "skipped_enum_candidates" with a reason, and counted in the warning.

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

Input Schema

NameRequiredDescriptionDefault
tablesNoComma-separated list of table names to scan (default: all selected tables)
datasourceNoOptional datasource ID to target. Omit to use the project's configured default; required when the project has multiple datasources and no default is configured. Each datasource has its own SQL dialect: get_schema lists every datasource with its type, dialect and identifier quote, and every result carries datasource_type and dialect. A datasource that has not finished setup is refused with datasource_not_ready.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotation sets readOnlyHint=false with destructiveHint=false, so the agent knows this writes without destroying; the description goes further by explaining that partial coverage is possible, that found changes are still returned and saved in that case, and that an empty list plus a warning does not mean nothing changed. It also discloses that enum candidates containing personal data or trivially few distinct values are refused and reported in 'skipped_enum_candidates' with a reason. This is meaningful behavior beyond the annotations, with only rate limits or permission requirements left unstated.

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?

Purpose and the 'creates pending changes' outcome are front-loaded, followed by the less obvious warning/partial-coverage semantics, and every sentence carries non-redundant information. The middle section is dense with quoted field names but justified by the absence of an output schema.

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-value burden and does it: it names the 'warning' field, explains partial coverage, and describes 'skipped_enum_candidates' including the reason field. Combined with the fully documented input schema, an agent has what it needs to interpret results correctly.

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 both parameters are well documented in the schema itself, including the full datasource/dialect explanation. The description adds no parameter meaning of its own, so the baseline of 3 applies.

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 ('Scan data for changes') and adds what the scan produces ('new enum values', 'potential FK patterns', 'Creates pending changes for review'). An agent can tell this apart from list_pending_changes or approve_change by the creation-of-proposals framing, although no sibling is named explicitly.

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?

'Use after data updates to keep ontology current' gives explicit timing context for invocation. There is no when-not guidance and no named alternative for the review/approval follow-up, which keeps it short of a 5.

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