Skip to main content
Glama

hedwigai

Edit a workbook in the shell

checkout_workbook

Writes the workbook into your shell session's /tmp to edit with bash; with commit, reads the checkout back and saves it as a new version.

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": "checkout_workbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWith `commit`: one line on what changed.
commitNotrue to save the checkout as a new version.
sessionNoOptional: another shell's id, what `session id` prints inside it. Omit for this connection's shell.
workbookYesThe workbook id.
base_versionNoWith `commit`: the version the checkout reported.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / base_version
      Added value: +{
      +  "description": "With `commit`: the version the checkout reported.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / commit
      Added value: +{
      +  "description": "true to save the checkout as a new version.",
      +  "type": "boolean"
      +}
    • 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 / note
      Added value: +{
      +  "description": "With `commit`: one line on what changed.",
      +  "type": "string"
      +}
  2. 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"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare the safety profile (mutating, non-idempotent, not destructive, closed-world); the description adds the genuinely useful behavior that the file lands in the connection's shell /tmp and that `commit` reads the checkout back and creates a new version. It does not cover what happens to an uncommitted checkout, whether a stale checkout/base_version is rejected, or what concurrency behavior to expect across sessions.

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?

One tightly packed sentence with the primary action front-loaded and the commit variant trailing it. Every clause carries information, though the semicolon compression makes the checkout/commit distinction slightly harder to parse on first read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description should say what the tool hands back — the checkout path, the version, or something else — and it does not, nor does it describe the commit response. The behavioral model is otherwise adequately covered for a five-parameter, two-mode tool.

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%, so each of the five parameters is already documented in the schema, including the commit/base_version pairing. The description reinforces the commit meaning and implicitly explains why a session matters (the workbook is written into that shell's /tmp), but adds no format or constraint detail beyond the schema.

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?

States a specific verb and mechanism: it writes the workbook into the shell session's /tmp so it can be edited with bash, and optionally commits the result back as a new version. The checkout/commit model is clear, though it never names a sibling (e.g. write_workbook or read_workbook) to distinguish itself from adjacent workbook tools.

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 implied rather than stated: use this when you want to edit a workbook with bash and save it back. The two-phase checkout-then-commit flow is conveyed by the semicolon clause, but there is no explicit when-not guidance, no mention of what to do instead for direct programmatic writes, and no stated prerequisite for holding the checkout open.

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.