Skip to main content
Glama
oracle-mcp-server

oracle-mcp-server

by Tommi2Day

describe_table

Shows columns, types, nullability, defaults, primary key, and comments for a table or view so you can inspect schema details.

Instructions

Show columns, types, nullability, defaults, primary key and comments of a table or view

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
tableYesTable or view name. Unquoted names are upper-cased.
schemaNoSchema (owner) name, default: current schema

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/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 behavioral burden. 'Show' implies a non-mutating read, and the enumerated return fields effectively describe the response shape. However, nothing is said about behavior on a nonexistent table, visibility/permission constraints, or whether access is limited to objects in the specified schema.

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?

A single front-loaded sentence with no filler; every listed item is substantive information about the output rather than restatement of the tool name.

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

Completeness4/5

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

There is no output schema and no annotations, so the description must carry the return-value burden — and the field enumeration does that well. For a simple two-parameter read tool the remaining gaps (error conditions, permission scope) are minor, though a mention of behavior for missing objects would round it out.

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 coverage is 100%, so both parameters (table, schema) are already documented, including the upper-casing rule and the current-schema default. The description only adds the nuance that views are accepted alongside tables, which is useful but marginal against a fully documented 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?

Specific verb ('Show') plus resource ('table or view') and an enumeration of exactly what is returned: columns, types, nullability, defaults, primary key, comments. That is far more concrete than a tautology. It does not explicitly differentiate itself from nearby siblings such as list_tables or table_stats, which keeps it short of a 5.

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 read-only intent and the 'table or view' scope imply the use case (inspecting a relation's structure), but there is no explicit when-to-use versus list_tables/table_stats/query, and no stated prerequisites such as needing the object to already exist. Adequate but leaves routing to inference.

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