Skip to main content
Glama
Teradata

Teradata MCP Server

Official
by Teradata

dba_tableSpace

Read-onlyIdempotent

Show table-level disk space usage in a Teradata database, ranked by size. Find the largest tables consuming storage within a specified database.

Instructions

Show table-level disk space usage within a specific Teradata database, ranked by size. Use when the user asks which tables are largest or consuming the most storage within a named database. NEVER call this tool with an empty database_name — if the user's message does not explicitly name a database, ask which database they want before calling. For space allocated to a whole database, use dba_databaseSpace. For total system-wide storage, use dba_systemSpace.

Arguments: database_name - Database name. Required — do not pass empty string. table_name - Table name filter. Leave empty for all tables. top_n - Limit results to top N largest tables by space. Set to 0 for no limit (default: 0). exclude_system - Exclude system databases and tables. Set to 'Y' to exclude, 'N' to include all (default: 'N'). persist - If True, materializes result as a volatile table and returns table name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_nNoLimit results to top N largest tables by space. Set to 0 for no limit (default: 0).
persistNoIf True, materializes result as a volatile table and returns table name
table_nameNoTable name filter. Leave empty for all tables.
database_nameYesDatabase name. Required — do not pass empty string.
exclude_systemNoExclude system databases and tables. Set to 'Y' to exclude, 'N' to include all (default: 'N').N
Behavior4/5

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

Annotations declare readOnlyHint and idempotentHint, which the description does not contradict. The description adds detail on the persist parameter: 'materializes result as a volatile table and returns table name,' which is behavioral context beyond annotations. No additional traits like side effects or auth needs are discussed, but annotations already cover safety.

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 well-structured: a concise purpose paragraph followed by a bulleted argument list. It is front-loaded with the main action. While slightly longer than necessary due to repeated parameter info, it remains readable and efficient.

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?

Given no output schema, the description does not explain the return format (columns, structure) for the normal case. For persist, it notes returns table name. While annotations and schema cover safety and parameters, the missing output description leaves some ambiguity for the agent about what to expect from the response.

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 the baseline is 3. The description duplicates parameter docs in an Arguments section, reinforcing requirements like 'database_name - Required — do not pass empty string' and defaults. However, it adds no new semantic meaning beyond the schema; the persist description is identical.

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 explicitly states 'Show table-level disk space usage within a specific Teradata database, ranked by size.' It distinguishes from sibling tools by mentioning 'Use when the user asks which tables are largest' and contrasts with dba_databaseSpace and dba_systemSpace.

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

Usage Guidelines5/5

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

Provides explicit when-to-use: 'Use when the user asks which tables are largest or consuming the most storage within a named database.' Also gives when-not-to-use: 'NEVER call this tool with an empty database_name' and instructs to ask for database if not provided. Alternatives are named: dba_databaseSpace and dba_systemSpace.

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