Skip to main content
Glama

warehouse_get_definition

Read-only

Retrieve a warehouse definition and write the definition files to a specified output directory. Use this to export or inspect warehouse schema and metadata.

Instructions

Get the definition of a warehouse (long-running). Writes definition files to the specified output directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
warehouseIdYesThe warehouse ID
workspaceIdYesThe workspace ID
outputDirectoryPathYesDirectory path where definition files will be written

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.8.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context: the operation is long-running and it writes files to the provided output directory, which is not visible in the annotations or schema. It does not discuss overwrite behavior or permissions, but given the annotations, this is acceptable.

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

Conciseness5/5

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

The description is two short sentences with zero filler. The core purpose, the long-running nature, and the file-writing side effect are all front-loaded and each sentence earns its place.

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?

Given three simple required parameters, full schema coverage, and read-only annotations, the description is largely complete. It explains the important non-obvious behavior: long-running execution and file output. It could mention whether the operation is asynchronous or how to handle existing files, but those are not critical for selecting and invoking the tool.

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%, so every parameter is already documented in the input schema. The description adds no new parameter-level detail beyond referencing the output directory, which matches the existing schema description. A baseline score of 3 is appropriate because the schema does the heavy lifting.

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?

The description clearly states the action: get the definition of a warehouse, and adds the key behavior that it writes definition files to an output directory. This distinguishes it from metadata retrieval tools like warehouse_get or warehouse_get_sql_endpoint. The 'long-running' qualifier further sharpens expectations.

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?

The description implies when to use the tool: when you need a warehouse definition exported as files to a directory, and it warns that the operation is long-running. However, it does not explicitly contrast it with alternatives such as warehouse_get or warehouse_update_definition, nor state when not to use it. The guidance is present but mostly implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mkoziel2000/mcp-fabric-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server