Skip to main content
Glama

Make a table's latest version the served one

promote_table

Promotion makes the table's newest passing version the version everyone reads, and starts the recurring refresh that keeps it current. Example: {"table_id": "…", "confirm": true}. It refuses without confirm: true. Only call it when the person you are working for has said to. Check the data with query_run first. Returns {table_id, promotion_status, live_version_id, cadence, dashboard_url}. The promotion also starts a catch-up refresh; when that refresh is larger than the size that starts on its own the table is STILL PROMOTED and the answer carries held_run with the projection — show it and call confirm_run, or cancel_run to leave the table live without the catch-up. Do not call start_run for it.

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_id": "<table_id>"
    },
    "name": "promote_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
cadenceNo
confirmNo
table_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only supply the generic safety profile (readOnlyHint false, destructiveHint false); the description adds the real behavioral facts: confirm:true is mandatory, a catch-up refresh starts, and an oversized catch-up still promotes the table but returns held_run. It also lists return fields. Slightly dense but far beyond annotation coverage.

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 the core effect, then requirements, then the held_run edge case. Every sentence carries meaning, though the held_run clause is a long run-on that could be split for faster scanning.

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

Completeness5/5

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

For a mutation with nested follow-up flows and no output schema, the description covers trigger conditions, the confirmation gate, the side-effect refresh, the exceptional held_run path, return shape, and the sibling not to call. Nothing needed to invoke or recover from it is missing.

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 carries the burden. It explains confirm's hard requirement and shows a usage example, but cadence is only implied via 'starts the recurring refresh' — its accepted format and default are never stated, leaving one of three parameters under-specified.

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 plus the exact effect: the newest passing version becomes the served one. It distinguishes the operation from demote_table/refresh_table siblings by naming the recurring refresh and the version cutover.

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?

Explicitly says 'Only call it when the person you are working for has said to,' instructs checking data with query_run first, and routes follow-up work to confirm_run or cancel_run while forbidding start_run. When-to-use, prerequisites, and alternatives are all present.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources