Skip to main content
Glama

describe_model

Retrieves a warehouse model's grain, access tier, column types and PII flags, plus its joins and metrics, so agents can inspect schema and governance before querying.

Instructions

Describe one model: grain, access tier, columns with types and descriptions, which columns are PII (not selectable without pii:read), joins and metrics built on it.

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

Input Schema

NameRequiredDescriptionDefault
nameYesExact model name, e.g. 'fct_shipments'.

Output Schema

NameRequiredDescriptionDefault
kindYes
nameYes
tierYes
grainYes
columnsYes
metricsYes
joins_toYes
descriptionYes
time_columnYes
catalog_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose a real permission gate: PII columns are not selectable without pii:read. It also says what the response contains. It does not cover failure behavior for a nonexistent or ambiguous name, case sensitivity, or whether access-tier results vary by caller's own permissions.

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 the core action front-loaded and the return contents listed afterwards. Dense but every clause is meaningful content rather than filler; the colon-list structure is easy to scan.

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?

Output schema exists, so return values need not be spelled out, yet the description still summarizes them usefully. For a one-parameter read tool this is close to complete; only error/lookup-edge behavior is left unstated.

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?

One parameter at 100% schema coverage with a concrete example ('fct_shipments'), so the schema already does the work. The description reinforces that the name identifies exactly one model, but adds no format, naming-convention, or matching-rule detail beyond the schema.

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?

Specific verb+resource ('Describe one model') followed by an enumerated payload: grain, access tier, column types/descriptions, PII flags, joins and metrics. An agent can immediately tell this is a single-model detail lookup rather than the catalog-wide search_models or list_metrics. It stops short of naming a sibling explicitly, so it falls just below a 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 by 'one model' — this is the depth step after a search — but there is no explicit statement of when to prefer it over search_models or run_sql. The one piece of conditional guidance is the pii:read note, which tells the agent when PII columns become selectable.

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