Skip to main content
Glama
logisky

logisheets-mcp

refresh_pivot

Update a pivot table's rows and columns to match its source data, ensuring all groups appear before reading or reporting. Safe to run anytime—no changes means no effect.

Instructions

Bring a pivot's rows and columns back in line with its source.

Its NUMBERS were never stale — they are live formulas. Only the set of rows and columns falls behind, because no formula can add a row. That is exactly why this matters: a stale pivot shows correct numbers with whole groups missing, and totals taken from it are short with nothing to say so.

Call it before reading or reporting a pivot that describe_block flagged. Safe and cheap to call when nothing has changed — it reports that it did nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRef name of the pivot block.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.5/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the readOnlyHint=false and destructiveHint=false annotations. It explains that numbers are live formulas, only rows/columns can become stale, and it reports when it did nothing. This gives the agent an accurate mental model of the tool's side effects and safety profile.

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?

The description is front-loaded with the core purpose in the first sentence. The following paragraphs add valuable context about why the tool matters and when to call it, though some phrasing is slightly elaborate. Overall every sentence contributes meaning.

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 single-parameter tool with no output schema, the description covers purpose, behavior, usage context, and no-op behavior. It does not specify exact return format, but the note that it 'reports that it did nothing' gives enough signal for invocation and result interpretation.

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?

The schema fully documents the single parameter as 'Ref name of the pivot block.' The description mentions pivots but does not add new semantic detail about the name parameter beyond what the schema already provides, so the baseline 3 applies.

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 description states a specific verb and resource: 'Bring a pivot's rows and columns back in line with its source.' It further clarifies the exact scope of the refresh — only the set of rows and columns, not the NUMBERS which are live formulas. This clearly distinguishes it from sibling tools like edit_pivot or create_pivot.

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?

The description gives explicit usage guidance: 'Call it before reading or reporting a pivot that describe_block flagged.' It also reassures about when it is acceptable to call even without known changes: 'Safe and cheap to call when nothing has changed.' This is direct, actionable guidance with no ambiguity.

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