Skip to main content
Glama

get_schema

Retrieve the column names, types, and nullability for a specific table or view. Use after listing datasets to select a valid dataset name.

Instructions

Get the column names, types, and nullability for one dataset (table or view). Use list_datasets first to get valid names.

Args: dataset: Exact table or view name, as returned by list_datasets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datasetYes
Behavior4/5

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

With no annotations, the description carries the burden of disclosing behavior. It explicitly states the output content (column names, types, nullability) and that the input must be an exact name from list_datasets. The read-only nature is implied by 'Get', and no side effects or permission requirements are mentioned, but for a metadata read 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 extremely concise: two sentences plus a brief Args section. Every sentence contributes value, and the front-loaded purpose statement ensures immediate understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read-only tool, the description provides the essential information: purpose, input requirement, and prerequisite. No output schema is needed because the return type is described as column names, types, and nullability, which fully specifies the result expected.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides only a string parameter with no description. The tool description fully compensates by explaining that 'dataset' must be the exact table or view name returned from list_datasets, and that it is required. This gives the agent precise guidance on how to populate the parameter.

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 tool's function: retrieving column names, types, and nullability for a single dataset. It distinguishes this from sibling tools like list_datasets (which lists available datasets) and get_row_count (which counts rows), and specifies both tables and views are covered.

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

Usage Guidelines4/5

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

The instruction 'Use list_datasets first to get valid names' provides a clear prerequisite and sequence of use. It does not explicitly list when not to use the tool, but the context of sibling tools makes the alternative use cases clear.

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/MostafaAI10/OmniData-MCP'

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