Skip to main content
Glama
Teradata

Teradata MCP Server

Official
by Teradata

base_saveDDL

Read-onlyIdempotent

Extracts complete DDL of a Teradata object and saves it to a .sql file directly on the server, avoiding token limit issues.

Instructions

Extracts the complete DDL of a Teradata object and saves it to a .sql file.

This tool solves the token limit problem by executing the extraction and file save operation directly on the server side, without needing to pass large DDL content through the response.

Arguments: database_name - Database name (e.g., 'MKTG_USR') object_name - Object name (e.g., 'SP_LOAD_VARIABLES_ARGUMENTARIO_IAG_FICHA_CLIENTE') object_type - Type of object: 'PROCEDURE', 'TABLE', 'VIEW' (default: 'PROCEDURE') output_dir - Directory where to save the DDL file (default: './ddls_extracted')

Returns: ResponseType: formatted response with file path, size, and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
database_nameYes
object_nameYes
object_typeNoPROCEDURE
output_dirNo./ddls_extracted
Behavior1/5

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

The description indicates a side effect (saving a file to the server filesystem), which contradicts the annotations of readOnlyHint: true and idempotentHint: true. This is a clear contradiction, and per the rules, transparency score must be 1.

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 description is concise and well-structured with sections for arguments and returns. Every sentence adds value, though the format could be slightly streamlined.

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?

The description covers the return type (ResponseType with file path, size, metadata), but lacks details on error handling, prerequisites (e.g., user permissions), or what happens if the object doesn't exist. It is adequate for typical use but not fully comprehensive.

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?

The description provides examples and default values for each parameter, adding meaning beyond the input schema which has 0% description coverage. It explains the purpose of database_name, object_name, object_type (with three examples), and output_dir. However, it could explicitly list allowed object_type values.

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 it extracts the complete DDL of a Teradata object and saves it to a .sql file, using the verb 'Extracts' and specifying the resource. This distinguishes it from sibling tools like base_tableDDL which likely only returns DDL without saving.

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 mentions it solves the token limit problem, implying when not to use alternatives (when DDL content is small, base_tableDDL might suffice). However, it does not explicitly state when to use this tool vs. siblings, nor does it provide exclusion criteria.

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/Teradata/teradata-mcp-server'

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