Skip to main content
Glama

Get cell details

get_cell
Read-only

Retrieve a single Excel cell's computed value, formula, number format, font, fill, merge state, and comment to inspect or debug spreadsheet data.

Instructions

Get everything about one cell: computed value, formula text, number format, font, fill, merge state, comment.

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": {
      "sheet": "<sheet>",
      "cell": "<cell>"
    },
    "name": "get_cell"
  }
}

Input Schema

NameRequiredDescriptionDefault
cellYesCell address, e.g. "C5".
pathNoFile path or preloaded name (list_configured_files). Omit if only one file is preloaded.
sheetYesSheet name (case-sensitive).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.0
    • addedInput schema / properties / cell / description
      Added value: +"Cell address, e.g. \"C5\"."
    • addedInput schema / properties / path / description
      Added value: +"File path or preloaded name (list_configured_files). Omit if only one file is preloaded."
    • addedInput schema / properties / sheet / description
      Added value: +"Sheet name (case-sensitive)."
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered structurally, and an output schema exists so return shape needn't be restated. The description adds the notable behavioral point that style metadata (font, fill, merge state, comment) is included, not just the value, but says nothing about behavior for empty cells, missing cells, or sheets, which is where an agent would most likely stumble.

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

Conciseness5/5

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

A single sentence, front-loaded with the core action and then the returned fields in a compact list. Every clause carries information; there is no filler or redundancy.

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 simple three-parameter read tool with full schema coverage, annotations, and an output schema, the description gives an agent enough to call it correctly and know what comes back. The only gap is the absence of any note on edge-case behavior such as a nonexistent cell or sheet reference.

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 100%, and the schema already documents cell address format ("C5"), the optional path with its preloaded-file fallback, and the case-sensitive sheet name. The description adds no parameter-level meaning beyond that, so the baseline of 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?

States a specific verb ("Get") and a tightly scoped resource ("one cell"), then enumerates exactly what is retrieved: computed value, formula text, number format, font, fill, merge state, comment. The single-cell scope plus that field list makes it distinguishable from range-oriented siblings like read_sheet or query_sheet without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the tool's purpose — an agent can infer it is for inspecting one cell rather than a range, and the enumerated field list hints at why you would pick this over a bulk read. However, no alternative is named and there is no explicit when-to-use or when-not-to-use statement.

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