Skip to main content
Glama

hedwigai

Link a workbook to a drive file

link_workbook
Destructive

Makes a Google Drive or Dropbox file the document of record for a workbook, so each version is written back to it. unlink stops that; pull brings the file's latest in now.

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

Input Schema

NameRequiredDescriptionDefault
pathNoThe file on a mount, as the shell names it: `googledrive/Sites/339 15th St/Rent Builder.xlsx` or `dropbox/memo.docx`.
pullNotrue to read the linked file now and write it as a version.
unlinkNotrue to stop syncing with the linked file.
workbookYesThe workbook id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • 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 / pull
      Added value: +{
      +  "description": "true to read the linked file now and write it as a version.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / unlink
      Added value: +{
      +  "description": "true to stop syncing with the linked file.",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "workbook",
      -  "path"
      -]New value: +[
      +  "workbook"
      +]
  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.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is partly covered. The description adds real value beyond them: it discloses the ongoing write-back semantics (each version is written to the linked file) and the two mode flags that change or tear down that relationship. It stops short of saying what happens to an existing link when re-linking, or what permissions the external file requires.

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?

Two sentences, front-loaded with the core action and followed by the two mode switches. Nothing is wasted and no sentence is filler.

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?

For a four-parameter, destructive, open-world mutation with no output schema, the description covers the main lifecycle but not the risk surface: reversibility of unlinking, effect of re-linking an already-linked workbook, and side effects on the remote file are unstated. Adequate, but the destructive flag deserves more explicit disclosure.

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 coverage is 100%, so path, pull, unlink and workbook are all documented in the schema itself. The description only reinforces the semantics of pull and unlink in prose; it adds no syntax or format detail (e.g., path mount naming rules) beyond what the schema states.

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 concrete verb and outcome: makes a Drive or Dropbox file the 'document of record' for a workbook, with versions written back to it. That is far more specific than the title. It does not, however, differentiate itself from sibling mirror_workbook, which sounds like a related sync operation an agent might confuse it with.

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?

The description explains the in-tool modes ('unlink' stops syncing, 'pull' brings the latest in now) but frames them as behavior rather than as selection criteria. There is no explicit when-to-use/when-not-to-use guidance and no pointer to alternatives such as mirror_workbook for agents choosing between sync mechanisms.

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.