Skip to main content
Glama

hedwigai

Send or share a workbook

share_workbook
Destructive

Sends or shares a workbook: email it to its members or named people (email, send_to); show, create or rotate its share link (link); or copy every web source it cites into the connected drive (save_sources).

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

Input Schema

NameRequiredDescriptionDefault
linkNoshow, create or rotate the share link. Default show.
emailNotrue to email it to its members (or `send_to`).
previewNoWith `email`: only say who it would go to.
send_toNoMembers' emails to send to. Omit for all of them. An address that is not a member is not mailed.
workbookYesThe workbook id.
visibilityNoWho may read the link.
save_sourcesNotrue to copy every web source it cites into the drive.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedInput schema / properties / action
      Removed value: -{
      -  "description": "show, create or rotate. Default show.",
      -  "enum": [
      -    "show",
      -    "create",
      -    "rotate"
      -  ],
      -  "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"
      -}
    • addedInput schema / properties / email
      Added value: +{
      +  "description": "true to email it to its members (or `send_to`).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / link
      Added value: +{
      +  "description": "show, create or rotate the share link. Default show.",
      +  "enum": [
      +    "show",
      +    "create",
      +    "rotate"
      +  ],
      +  "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 / preview
      Added value: +{
      +  "description": "With `email`: only say who it would go to.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / save_sources
      Added value: +{
      +  "description": "true to copy every web source it cites into the drive.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / send_to
      Added value: +{
      +  "description": "Members' emails to send to. Omit for all of them. An address that is not a member is not mailed.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and non-idempotent, so the safety profile is covered structurally. The description adds real value by disclosing that save_sources copies web sources into the connected drive — a side effect in another system — but omits the key destructive consequence: whether 'rotate' invalidates the existing link, and whether an email is irreversible once sent.

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?

A single front-loaded sentence with the verb first, then parallel semicolon-separated modes that mirror the parameter names. Dense but efficient; the parenthetical parameter callouts aid scanning without wasted 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 7-parameter destructive mutation with no output schema, the description covers all three modes adequately but leaves gaps an agent would care about: what is returned (e.g., the created link or the recipient list), and the effect of rotate on previously distributed links. Adequate but not complete.

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 every parameter including the link enum, visibility enum, and send_to semantics is already documented. The description adds grouping logic (which parameter belongs to which mode) but no syntax, format, or default detail beyond the schema, so the baseline 3 applies.

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?

The description names a specific verb (send/share) and resource (workbook), then enumerates the three operating modes — email, link, save_sources — keyed to their parameter names, so an agent knows exactly which capability is being invoked. It stops short of distinguishing itself from the sibling link_workbook, which the 'show, create or rotate its share link' clause arguably overlaps 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 mode-to-parameter mapping implies when each branch applies (use email to deliver to people, link to manage the share URL, save_sources to capture cited web sources), but there is no explicit when-not guidance and no statement about which sibling to prefer for link operations. Usage is inferable rather than stated.

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.