Skip to main content
Glama
mcp-bd-service

mcp-bd-service

by jtesotelo

describe_table

Read-onlyIdempotent

Retrieve a table's columns, keys, foreign keys, referencing tables, synonyms, and sample rows to understand its structure and relationships before querying.

Instructions

Columns (type, nullability, keys, description), foreign keys, tables that reference it, synonyms and a few example rows of one table.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "table": "<table>"
    },
    "name": "describe_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYes
sample_rowsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and a closed-world, non-destructive profile, so safety behavior needs no restatement. The description adds value by enumerating the sections returned, but that overlaps with the output schema and it says nothing about cost, latency, or how sample rows are chosen.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact sentence with no filler, which is good, but it is a fragment with no leading verb or purpose statement, so it is under-specified rather than tight. The most decision-relevant fact — that it targets exactly one table — is buried at the end.

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 tool is simple (two params, read-only, output schema present), and the description covers the returned content, so an agent could plausibly call it. What is missing is the query-format detail for table and the routing logic versus sibling schema tools, which matters more than return-value enumeration given an output schema already exists.

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

Parameters2/5

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

Schema description coverage is 0% for both parameters. The phrase "a few example rows" hints at the sample_rows parameter but never says it controls the row count, gives no range or cost implications, and the table parameter's expected format (bare name vs. qualified identifier, case sensitivity) is entirely undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence enumerates what the tool surfaces for a single table (columns with type/nullability/keys/description, foreign keys, referencing tables, synonyms, sample rows), so the resource is identifiable. But it is a noun phrase with no verb — it never says "describe" or "return" — and the single-table scope only surfaces in the trailing phrase "of one table."

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no alternatives named, despite obvious siblings (list_tables, search_schema, profile_column, get_relationships) that an agent must choose between. The agent must infer that this is the per-table detail lookup rather than a discovery or query tool.

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