Skip to main content
Glama

hedwigai

Read a workbook

read_workbook
Read-onlyIdempotent

Reads a workbook. By default the whole current document as markdown, with its tabs. Narrow it with tab; a section (the prose under a heading, in your own words); a table (as data, in your own words); or outline for its headings, each with an address you can pass back to read just those. version reads an earlier version; schema returns its data-model rules; notes what its runs have learned about this account; affected_by every section an edit you describe would change. A 3D (glb) workbook also comes back with a picture of the model, from the angles in views (or azimuth/elevation), so you can see what an edit did.

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": {
      "workbook": "<workbook>"
    },
    "name": "read_workbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNoOne tab's id, from `tabs`.
notesNotrue for the notes its runs keep about this account.
tableNoWhich table, in your own words.
viewsNoFor a 3D (glb) workbook: the angles to picture the model from, up to 4. Default one three-quarter view (its own camera when it has one).
schemaNotrue for the workbook's schema: the rules every edit must hold.
addressNoAn `address` an outline gave: just those sections.
azimuthNoFor a 3D workbook: one picture from this angle round the model, in degrees from the front (90 is the right side). Instead of `views`.
outlineNotrue for its headings only, each with an address.
secondsNoWith `wait_after`: how long to wait.
sectionNoWhich section, in your own words.
versionNoAn earlier version to read.
workbookYesThe workbook id.
elevationNoWith `azimuth`: degrees above the horizon (0 level, 89 from above).
wait_afterNoThe version you hold: answers when the workbook moves past it (at once if it has), with the tabs that changed, so you read only those. Waits up to `seconds` (25; at most 55).
affected_byNoAn edit, in your own words: answers with every section it would change.
image_widthNoFor a 3D workbook: the picture's width in pixels, 256 to 1024. Default 768.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / azimuth
      Added value: +{
      +  "description": "For a 3D workbook: one picture from this angle round the model, in degrees from the front (90 is the right side). Instead of `views`.",
      +  "type": "number"
      +}
    • addedInput schema / properties / elevation
      Added value: +{
      +  "description": "With `azimuth`: degrees above the horizon (0 level, 89 from above).",
      +  "type": "number"
      +}
    • addedInput schema / properties / image_width
      Added value: +{
      +  "description": "For a 3D workbook: the picture's width in pixels, 256 to 1024. Default 768.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / seconds
      Added value: +{
      +  "description": "With `wait_after`: how long to wait.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / views
      Added value: +{
      +  "description": "For a 3D (glb) workbook: the angles to picture the model from, up to 4. Default one three-quarter view (its own camera when it has one).",
      +  "items": {
      +    "enum": [
      +      "iso",
      +      "front",
      +      "side",
      +      "back",
      +      "top"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 4,
      +  "type": "array"
      +}
    • addedInput schema / properties / wait_after
      Added value: +{
      +  "description": "The version you hold: answers when the workbook moves past it (at once if it has), with the tabs that changed, so you read only those. Waits up to `seconds` (25; at most 55).",
      +  "type": "integer"
      +}
  2. Changed12 schema fields changed
    • addedInput schema / properties / address
      Added value: +{
      +  "description": "An `address` an outline gave: just those sections.",
      +  "type": "string"
      +}
    • addedInput schema / properties / affected_by
      Added value: +{
      +  "description": "An edit, in your own words: answers with every section it would change.",
      +  "type": "string"
      +}
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\"",
      -  "type": "string"
      -}
    • removedInput schema / properties / llm_model
      Removed value: -{
      -  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      -  "type": "string"
      -}
    • addedInput schema / properties / notes
      Added value: +{
      +  "description": "true for the notes its runs keep about this account.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / outline
      Added value: +{
      +  "description": "true for its headings only, each with an address.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / schema
      Added value: +{
      +  "description": "true for the workbook's schema: the rules every edit must hold.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / section
      Added value: +{
      +  "description": "Which section, in your own words.",
      +  "type": "string"
      +}
    • removedInput schema / properties / sheet
      Removed value: -{
      -  "description": "One tab's id, from `tabs`, to read just that tab of the current version.",
      -  "type": "string"
      -}
    • addedInput schema / properties / tab
      Added value: +{
      +  "description": "One tab's id, from `tabs`.",
      +  "type": "string"
      +}
    • addedInput schema / properties / table
      Added value: +{
      +  "description": "Which table, in your own words.",
      +  "type": "string"
      +}
    • changedInput schema / properties / version / description
      Previous value: -"An earlier version to read instead of the current one."New value: +"An earlier version to read."
  3. Changed2 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\"",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety bar is largely covered. The description adds genuinely useful behavior beyond that: the unprompted default returns the *entire* document, `outline` returns addresses that can be fed back, and 3D workbooks return a rendered picture so an edit can be visually verified.

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?

Front-loaded with the default, then delivered as a tight semicolon-separated enumeration of modes, so it scans quickly and wastes no sentences. It is somewhat telegraphic and repeats "in your own words" three times, which costs a little readability for little loss of precision.

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 16-parameter tool with no output schema, the description supplies the missing return-shape information: markdown for the document, structured data for tables, headings-with-addresses for outline, and a rendered image for 3D workbooks. Gaps are minor, such as how the default output is bounded for very large workbooks.

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 the baseline is 3 and the schema already documents every parameter. The description adds compositional meaning beyond the individual field docs — outline produces `address` values that are passed back to read just those sections, and `views`/`azimuth`/`elevation` are framed as rendering alternatives — which is real semantics the schema cannot express.

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 and resource ("Reads a workbook") and immediately defines the default payload (whole current document as markdown, with its tabs). The remainder of the sentence enumerates named view modes, so an agent knows exactly which read surface it is choosing between.

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?

The description is explicit about how to select each mode ("Narrow it with `tab`; a `section`... a `table`... `outline`") and implicitly contrasts the broad default against narrower reads. It does not name sibling tools like write_workbook or configure_workbook as alternatives, but the verb and annotation make the read boundary unambiguous.

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.