Skip to main content
Glama
peakacom

peaka-mcp-server

Official
by peakacom

peaka_create_semantic_table

Creates a semantic table from a saved query, turning that query into a queryable view inside a semantic catalog.

Instructions

Create a semantic table inside a semantic catalog in the Peaka project. The table is backed by an existing saved query, so the catalog/schema/table identifiers become a queryable view over that query. Use peaka_create_query (or peaka_list_queries) to obtain the queryId, and peaka_create_semantic_catalog (or peaka_list_catalogs) for the catalogId.

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryIdYesThe saved query ID used to populate the semantic table. From peaka_list_queries or peaka_create_query.
catalogIdYesThe semantic catalog ID the table should belong to. From peaka_create_semantic_catalog or peaka_list_catalogs.
projectIdYesThe Peaka project ID to run against.
tableNameYesName of the semantic table to create.
schemaNameYesName of the schema for the table.
Behavior4/5

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

Annotations (readOnlyHint=false, destructiveHint=false) indicate this is a non-read, non-destructive operation. Description adds that the table is a queryable view over an existing saved query, clarifying its nature beyond annotations.

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?

Two clear paragraphs: first explains core purpose, second gives usage guidelines. Front-loaded with the main action. No redundancy or filler.

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?

Covers prerequisites and parameter sources. Lacks return value information (e.g., whether it returns an ID or success status), but given no output schema, this is a minor gap. Overall sufficient for an agent to invoke correctly.

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 100% with descriptions for all parameters. Description adds workflow context for obtaining parameter values (e.g., how to get queryId, catalogId, projectId), which goes beyond the schema descriptions.

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?

Clearly states the verb (create), the resource (semantic table backed by a saved query), and the context (catalog/schema/table become a queryable view). Distinguishes from sibling tools like peaka_create_semantic_catalog and peaka_delete_semantic_table.

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?

Explicitly instructs to obtain queryId via peaka_create_query or peaka_list_queries, catalogId via peaka_create_semantic_catalog or peaka_list_catalogs, and projectId via peaka_list_projects. Provides a clear workflow. Lacks explicit when-not-to-use, but implied by prerequisites.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peakacom/peaka-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server