Skip to main content
Glama

Update a sheet copied from a template

update_from_template

For a sheet copied from a shared template sheet (copiedFrom in list_tracks): which version of the template it's on, the newest, and what updating adds, tab by tab. change new: the newer version adds the tab. changed: its author changed the tab, so the new version is added beside the sheet's own as addAs ("Budget (version 3)") for the person to compare. removed_by_you: the person deleted the tab, so it isn't brought back. Updating never changes, overwrites or removes anything already in the sheet. Without apply it only looks. With apply true it updates: tell the person what it adds and apply only when they say so.

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": {
      "trackId": "<trackId>"
    },
    "name": "update_from_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNotrue updates the sheet; leave out to only look.
trackIdYesFrom list_tracks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), it discloses the key safety property: updating never changes, overwrites or removes anything already in the sheet, new tabs are added beside the sheet's own as addAs, and tabs deleted by the user are not restored. It also documents the dry-run default and the per-change semantics (new, changed, removed_by_you), which annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

There is no filler, but the prose is dense and run-on: the change-type explanations are packed into one long sentence with terse labels like 'change new:' and 'removed_by_you:' that take effort to parse. The most important safety statement ('never changes, overwrites or removes') sits mid-paragraph rather than up front.

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 mutation tool with no output schema, the description covers the safety profile, the dry-run default, and what each diff state means, which is enough to call it correctly and explain results to a user. It does not describe the response shape or what happens if the sheet is already on the newest version.

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%, so both parameters are already documented, but the description adds real meaning to apply by spelling out the consequences of applying versus only looking, and confirms trackId comes from list_tracks. That goes modestly beyond the schema text.

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 the resource (a sheet copied from a shared template) and what the tool reports/changes: which template version the sheet is on, the newest version, and what updating adds tab by tab. The verb 'update' comes mainly from the name/title rather than a clean leading sentence, and it doesn't explicitly contrast with siblings like change_template or install_template, but an agent can still tell what this does.

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 explicit operational guidance: without apply it only looks, with apply true it updates, and the agent should tell the person what it adds and apply only on their confirmation. That is a clear when-to-use rule. It stops short of naming alternative tools for related template operations.

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