Skip to main content
Glama

Tag cells

tag_cells
Idempotent

Mark cells of a workbook as user INPUT cells or computed OUTPUT cells. Persisted per workbook so later work (building a data-entry form, goal-seek, explaining the model) knows which cells are meant to be filled in vs read out — instead of guessing. Upserts by cell: tagging a cell again updates its role/label. Give each a short human label. Roles: 'input' (a value the user supplies) or 'output' (a calculated result). Use list_cell_tags to see what's already tagged.

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": {
      "workbookId": "<workbookId>",
      "tags": "<tags>"
    },
    "name": "tag_cells"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYes
workbookIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true; the description adds substantive context beyond that — persistence per workbook, the reason tags exist, and the upsert-by-cell rule that tagging again updates role/label rather than duplicating. It does not say anything about permission requirements or behavior for invalid cell refs, which keeps it from a 5.

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 core action is front-loaded, followed by rationale, then the upsert rule, the role definitions, and the sibling pointer — a sensible order. Several sentences could be tightened (the rationale clause is long), but nothing is 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?

For a mutation tool with no output schema, the definition covers purpose, semantics of a tag, and idempotent re-tagging, while annotations cover the safety profile. Remaining gaps — cell reference format, behavior on unknown cells, batch size — are meaningful but not blocking for correct invocation.

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?

Schema description coverage is 0%, so the description must carry the parameter burden. It does explain the 'role' values ('input' / 'output') and advises a short human label, but says nothing about 'workbookId', the sheetName/cellRef format, or the 100-item batch cap. Partial compensation, no more.

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 opens with a specific verb and resource — 'Mark cells of a workbook as user INPUT cells or computed OUTPUT cells' — and the meaning of the two roles is spelled out. It is clearly distinct from the sibling 'list_cell_tags' (view) and 'remove_cell_tag' (delete).

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 explains the downstream uses that motivate the tool (data-entry forms, goal-seek, model explanation) and points to 'list_cell_tags' to check existing tags before writing. What's missing is an explicit rule for when not to tag or how this interacts with remove_cell_tag when a role changes, but the context is strong enough that an agent knows when to reach for it.

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