Skip to main content
Glama

check_conformed_facts

Check whether same-named measures across fact tables share identical definition, unit, filter, and time basis, flagging incompatible definitions that require renaming.

Instructions

一致性事实检查:同名度量在多张事实表出现时,定义/单位/过滤/时间口径必须完全一致;不兼容则按原典须改名。

Args: facts: 各处定义列表,每项 {"name","table","definition","unit","filter","time_basis"}。 table: 可选,只看该表。

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": {
      "facts": "<facts>"
    },
    "name": "check_conformed_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
factsYes
tableNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden; it does explain the checking rule and the consequence of incompatibility. However, it is ambiguous whether '须改名' (must be renamed) means the tool merely reports a naming violation or actually performs a rename, and no read-only/side-effect posture is stated. That ambiguity matters for a tool whose name suggests a pure check.

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 consistency rule is front-loaded in one sentence, followed by a brief Args block that earns its space by defining otherwise-undocumented fields. Dense but free of filler; the Chinese/English code-term mixing is functional rather than redundant.

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?

An output schema exists, so return values need not be described, and the description covers the check semantics plus both parameters in detail. The only substantive gap for a 2-parameter checker is the report-vs-mutate ambiguity and the absence of any statement about permissions or data scope.

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 0% and the facts array is an untyped `items: {}`, so the description is doing real work by enumerating the six per-item fields (name, table, definition, unit, filter, time_basis) and by clarifying that `table` is optional and scopes the check to one table. Only the item-level typing/requiredness is left unstated.

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 check: same-named measures appearing across multiple fact tables must agree on definition/unit/filter/time basis, otherwise they must be renamed per the canon. That is a concrete verb+resource an agent can recognize. It does not differentiate itself from siblings like analyze_table or bus_matrix, so it stops short of 5.

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

Usage Guidelines3/5

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

Usage is implied through the rule being enforced (inconsistency → rename per canon) and through the optional table scoping argument, but there is no explicit 'use this when X, use sibling Y when Z'. An agent must infer that this is the conformance-audit tool rather than a SQL or table-analysis tool.

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