Skip to main content
Glama
peaka-mcp-server

peaka-mcp-server

Official
by peakacom

peaka_list_table_metadata

Read-only

Read one page of table metadata summaries for a Peaka project, filtered by catalog or schema, and continue with a cursor to review additional metadata without fetching the whole project.

Instructions

Read one page of collected table metadata summaries, including tables excluded from automatic AI context. Requires metadata management permission. Use catalogId/schemaName to narrow scope. Pass nextCursor with the same filters and limit to continue; an empty page can still have a continuation. Cursors expire after 15 minutes. This is not a complete source inventory or a snapshot; discover missing tables with the ordinary catalog/schema/table tools. Descriptions longer than 2000 characters are explicitly marked as truncated. Does not return columns, samples or relations. On unsupported servers, ask to upgrade; never silently fetch the whole project. Permission errors must not be bypassed.

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": {
      "projectId": "<projectId>"
    },
    "name": "peaka_list_table_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
catalogIdNo
projectIdYes
schemaNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.5

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover only read-only safety, so the description carries real weight and does: requires metadata management permission, cursors expire after 15 minutes, descriptions over 2000 characters are marked truncated, and no columns/samples/relations are returned. The notes about unsupported servers and not bypassing permission errors add operational context, though the 'ask to upgrade / never silently fetch' phrasing reads more like agent policy than tool behavior.

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?

Front-loaded with purpose, then narrowing, then pagination mechanics, then exclusions — a sensible ordering with no filler sentences. It is on the long side for a list tool, and the closing two sentences are prescriptive guardrails rather than description, which slightly dilutes focus.

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?

With no output schema, the description does the heavy lifting by describing what is included (metadata summaries, truncation marking) and excluded (columns, samples, relations), plus pagination semantics that are otherwise undocumented. What remains missing is the shape of the page response itself — the field carrying the next cursor is never named, so an agent must infer it from the input parameter.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it does for catalogId/schemaName (narrow scope), cursor (continue with the same filters and limit), and implicitly limit. However, projectId is never mentioned despite being the sole required parameter, the limit's bounds (1-50, default 20) are left to the schema, and the description calls the parameter 'nextCursor' while the schema names it 'cursor' — a naming mismatch that could confuse callers.

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 — 'Read one page of collected table metadata summaries' — and immediately scopes it ('including tables excluded from automatic AI context'). It also distinguishes itself from the ordinary catalog/schema/table tools, so an agent can tell it apart from peaka_list_tables or peaka_get_project_metadata without opening any schema.

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

Usage Guidelines5/5

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

Explicit when-to-use ('collected table metadata summaries', including AI-excluded tables), explicit when-not ('This is not a complete source inventory or a snapshot; discover missing tables with the ordinary catalog/schema/table tools'), and explicit narrowing instructions via catalogId/schemaName. Continuation behavior is spelled out, including the non-obvious case where an empty page still has a continuation.

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