Skip to main content
Glama
kewinall

Data Platform MCP Server

by kewinall

get_table_metadata

Retrieve governed metadata for a tenant-authorized table or view by providing source, schema, and table name.

Instructions

Return governed metadata for a tenant-authorized table or view.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYes
schemaYes
sourceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations are absent, so the description must disclose behavior. It only says 'Return', implying read-only, but doesn't mention authentication, error handling, or whether it accesses only tenant-authorized data. Lacks detail on side effects or requirements.

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?

A single sentence with no fluff, front-loading the action and resource. It's appropriately concise but sacrifices content for brevity.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having an output schema, the description is incomplete for a tool with three undocumented parameters. An agent cannot determine valid inputs or usage context. The description alone is insufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description provides no parameter details. Source, schema, and table are left undefined, forcing the agent to guess format or meaning. The description adds zero value for parameter understanding.

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?

Clearly states the action (Return) and resource (governed metadata for a table or view). The term 'governed metadata' differentiates it from siblings like describe_table (schema) and table_statistics (stats), making purpose distinct.

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?

No guidance on when to use this tool versus describe_table, table_statistics, or get_table_lineage. The description implies use when governed metadata is needed but offers no explicit alternatives or exclusions.

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