Skip to main content
Glama
lagaam-ai

Lagaam

Official

describe_table

Get the exact columns and data types of a table before querying it to ensure correct SQL and avoid guessing column names.

Instructions

Get the exact columns and types of one table.

Always describe a table before querying it; column names you have not seen here are guesses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYes
schemaYes
catalogYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYes
schemaYes
catalogYes
columnsYes
commentNo
row_estimateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says it returns columns and types and that it should precede queries, but does not disclose read-only status, permissions, side effects, or any other operational traits. This is a significant gap for a tool with zero annotation coverage.

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?

Two sentences, front-loaded with the purpose and then the usage rule. No wasted words, and the key constraint is placed prominently.

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?

An output schema exists, so return values need not be explained. However, with no annotations and 0% parameter coverage, the description leaves behavioral and parameter semantics gaps. The parameter names are standard, but an agent still lacks explicit guidance on catalog/schema/table usage.

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

Parameters1/5

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

Schema description coverage is 0% for all three required parameters (catalog, schema, table). The description does not mention any parameter or how to specify them, so it fails to compensate for the missing schema documentation.

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?

States a specific verb and resource: 'Get the exact columns and types of one table.' It also implicitly distinguishes from query_data by instructing to describe before querying. An agent can tell what this tool does without opening the schema.

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?

Provides explicit when-to-use guidance: 'Always describe a table before querying it.' It explains why (column names unseen are guesses) but does not name alternatives or state when not to use it, leaving that to inference.

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

Deploy Server

Other Tools