Skip to main content
Glama
Teradata

Teradata MCP Server

Official
by Teradata

dba_tableSpace

Read-onlyIdempotent

Retrieve table space usage across all tables or filtered by database and table name. Optionally limit to top N largest tables or materialize results as a volatile table.

Instructions

Get table space used across all tables, or filtered by database and/or table name.

Arguments: database_name - Database name filter. Leave empty for all databases. 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
persistNoIf True, materializes result as a volatile table and returns table name
database_nameNoDatabase name filter. Leave empty for all databases.
table_nameNoTable name filter. Leave empty for all tables.
top_nNoLimit results to top N largest tables by space. Set to 0 for no limit (default: 0).
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 indicate read-only and idempotent, which the description does not contradict. The description adds critical behavioral context beyond annotations by explaining the 'persist' parameter mutates the result into a volatile table. However, it does not mention potential performance impacts of running without filters.

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, front-loading the main purpose, and lists arguments in a clear bullet-like format. While the argument list is redundant with the schema, it aids quick reading without scrolling. No wasted sentences.

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 explains all parameters but omits the output format (columns returned, or what 'table name' is returned when persist=True). For a data-retrieval tool, describing the return structure is important. Given no output schema, the description should compensate but does not.

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 input schema already describes all parameters in detail. The description repeats these descriptions verbatim, adding no new meaning. Baseline score of 3 applies.

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 retrieves table space usage across all tables, with optional filters by database and/or table name. It distinguishes from sibling tools like dba_databaseSpace (database-level space) and dba_systemSpace (system-level space) by specifying table-level granularity.

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 usage via filtering options and the 'persist' parameter, but it does not explicitly state when to use this tool over alternatives like dba_databaseSpace or base_tableList. No when-not or exclusion criteria are provided.

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