Skip to main content
Glama

Refresh a live table now

refresh_table

Runs the refresh the table's schedule would run, now: forward from where its last successful run reached, under its own recipe and the ordinary size and spend gates. It never rereads every source; a table whose recipe cannot refresh incrementally answers incremental_unavailable, and resync_table is the explicit full reread. Requests coalesce: a second call while one is queued or running, or within a minute of it, returns the same request. Example: {"table_id": "…", "expected_version": 4}. Read get_table first: only a live table refreshes, and its refresh readiness says whether this recipe can. Pass expected_version from that read. A refresh that fails leaves the live version where it was. Returns {table_id, status, refresh: {request_id, status, run_id, execution_mode}, dashboard_url}. The run usually starts after the answer: find it with get_table or list_runs and watch it with run_events. For a held run read get_run for its projection, then confirm_run on the person's word.

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": "refresh_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_idYes
expected_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations it discloses incremental-only behavior, the incremental_unavailable outcome, coalescing of duplicate calls within a minute, that a failed refresh leaves the live version unchanged, and that the run usually starts only after the response returns. The async start is exactly the kind of behavior an agent would otherwise miss. Minor gap: it never states what a mismatched expected_version produces, nor any permission requirement.

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?

It is front-loaded with the core behavior and the example is placed early, and nearly every sentence carries distinct information. It is dense and long for a two-parameter tool, but the density comes from genuine behavioral detail rather than padding.

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?

With no output schema, the description still spells out the returned shape including status, refresh sub-fields and dashboard_url, and explains that the run may begin after the answer. For a mutation tool with async side effects, nothing essential is left for the agent to guess.

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 carry the meaning, and it does explain that expected_version should be taken from the preceding get_table read, plus a concrete example request. It stops short of saying what happens on a version conflict, which is the one thing an agent most needs to interpret that parameter.

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?

The opening clause names a specific verb and resource with precise scope: it runs the refresh the table's own schedule would run, now, forward from the last successful run. It explicitly differentiates from the sibling resync_table by naming it as the full reread, and the incremental-only constraint is stated directly.

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?

It gives prerequisites (read get_table first; only a live table refreshes; check refresh readiness) and routes to alternatives with conditions: resync_table when incremental_unavailable, get_table/list_runs/run_events to follow the run, get_run then confirm_run for a held run. This is explicit when/when-not/alternative guidance.

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