Skip to main content
Glama

discover_bindings

Generates physical data mappings from catalog metadata, creating physical_data_map.json bindings between catalog tables and columns and ODGS metrics for governance validation.

Instructions

Generate physical data mappings from catalog metadata.

Given data catalog metadata (tables, columns, descriptions), auto-generates physical_data_map.json bindings to ODGS metrics.

Args: catalog_metadata: Data catalog metadata with table/column info. metrics: Optional ODGS metric definitions to bind against. provider: LLM provider override.

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": {
      "catalog_metadata": "<catalog_metadata>"
    },
    "name": "discover_bindings"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricsNo
providerNo
catalog_metadataYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the side effect of producing physical_data_map.json, but says nothing about whether an existing bindings file is overwritten, whether the LLM call has cost/latency or rate limits, what credentials the provider needs, or what happens on partial binding failure — all material for a tool that invokes an LLM and writes state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence and artifact name are front-loaded, which is good, but the summary line and the "auto-generates physical_data_map.json bindings" sentence restate the same idea. The Python docstring Args block is verbose formatting for what amounts to three short paraphrases of the schema field names.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 explained, and the core purpose plus the written artifact are covered. However, for a 3-parameter, no-annotation tool with a free-form nested object input and an internal LLM call, the description omits input shape, mutation/overwrite semantics, and failure behavior — enough gaps that an agent must guess before calling it.

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 0%, so the description must compensate. The Args block adds some real meaning beyond the schema titles — metrics are ODGS metric definitions, provider is an LLM provider override (clarifying a bare "string"), and catalog_metadata is expected to carry table/column info — but it never specifies the shape of catalog_metadata despite it being a free-form nested object, nor valid provider values.

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?

The description opens with a specific verb and resource ("Generate physical data mappings from catalog metadata") and names the concrete artifact produced (physical_data_map.json bound to ODGS metrics), so an agent can tell this is a generation/binding tool rather than a validation one like conformance_check or check_drift. It does not explicitly contrast itself with any sibling, which keeps it out of 5 territory.

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

Usage Guidelines2/5

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

The only usage signal is the precondition "Given data catalog metadata (tables, columns, descriptions)" — it never states when to choose this over the sibling validation/compilation tools, nor what to do when metrics are omitted (does it bind against all metrics, or none?). No exclusions, no prerequisites, no follow-up guidance.

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