Skip to main content
Glama
peaka-mcp-server

peaka-mcp-server

Official
by peakacom

peaka_list_schemas

Read-only

Lists all schemas in a Peaka catalog, including descriptions when available, so you can identify the right schema before querying. Requires a project ID and catalog ID.

Instructions

List all available schemas for a given catalog in the Peaka project, with a schema's description (what it holds) when one is written.

If you do not already know the projectId for the current task, call peaka_list_projects first and ask the user which project to use. Remember the chosen projectId for subsequent calls in this conversation.

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>",
      "catalogId": "<catalogId>"
    },
    "name": "peaka_list_schemas"
  }
}

Input Schema

NameRequiredDescriptionDefault
catalogIdYesThe catalog's id, or its name as written in SQL (e.g. "stripe" in stripe.payment.charges). "peaka" with schemaName query or mtquery is the saved queries, with any other schema the Peaka tables.
projectIdYesThe Peaka project ID to run against.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.5
    • addedInput schema / properties / catalogId / description
      Added value: +"The catalog's id, or its name as written in SQL (e.g. \"stripe\" in stripe.payment.charges). \"peaka\" with schemaName query or mtquery is the saved queries, with any other schema the Peaka tables."
  2. First observedv0.11.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is carried by structured data. The description adds two useful behavioral facts beyond that: descriptions are only returned when one has been written, and the projectId should be held constant across the conversation. It says nothing about ordering, pagination, or what an empty catalog returns.

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?

Two short paragraphs, purpose front-loaded in the first sentence, prerequisite workflow second. Every sentence earns its place and there is no redundancy. Mild cost: the second paragraph addresses conversation state rather than the tool call itself, which slightly blurs the section's 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?

For a two-parameter read-only listing tool with no output schema, the definition covers what it returns (schemas plus optional descriptions) and how to obtain the required projectId. No pagination or ordering information is given, but nothing essential to invoking it correctly is absent.

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 100% and the catalogId property already explains that a name can be used as written in SQL (e.g. "stripe") and how the 'peaka' catalog is interpreted. The description adds no further meaning to either parameter, so the baseline 3 applies — the schema does the work.

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 states a specific verb and resource ('List all available schemas') and scopes it to 'a given catalog in the Peaka project', plus notes it returns each schema's description when present. It is clearly a metadata-listing call at the schema level, distinguishable by scope from catalog/table/column listings, though it never names a sibling to contrast with.

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?

It gives actionable routing guidance: if projectId is unknown, call peaka_list_projects and ask the user, then reuse that projectId for the rest of the conversation. That is a real prerequisite chain rather than a vague hint. What's missing is any statement of when to prefer this over peaka_list_tables or peaka_list_columns, so no explicit exclusions.

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