Skip to main content
Glama
PNCP Athena MCP Server

PNCP Athena MCP Server

by jsantos-aie

describe_table

Retrieve columns and partition keys with data types from an AWS Glue table to understand its schema before writing Athena queries.

Instructions

Retorna colunas e partition keys (com tipos) de uma tabela no AWS Glue.

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_name": "<table_name>"
    },
    "name": "describe_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the relevant behavior by stating that the tool returns columns and partition keys with types, which implies a read-only metadata look-up. However, it does not say what happens when the table does not exist, whether special permissions are required, or how the table is resolved in the catalog.

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 a single front-loaded sentence with no filler, and the return scope is stated before anything else. Nothing is wasted, though it could also have used one more sentence to cover the missing parameter-format detail.

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 return shape is not a concern because an output schema exists, and the operation is a simple single-parameter read. Still, the missing guidance on how table_name is qualified and on failure behavior leaves an agent with gaps when multiple catalogs or databases are involved.

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 0%, so the description should compensate, but it only restates that a table is involved. It gives no qualification format for table_name, such as whether the value must be database-qualified, and no database parameter appears in the schema.

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

Purpose4/5

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

The description gives a specific verb and resource: it returns columns and partition keys, with their types, for a table in AWS Glue. That clearly distinguishes it from list_tables (enumerate) and run_read_only_query (query execution), though it never names those siblings explicitly.

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?

Usage is only implied: an agent can infer that this tool is used when it needs the schema of a known table. There is no statement about when to prefer list_tables or run_read_only_query instead, and no prerequisite conditions are given.

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