Skip to main content
Glama

Invite to folder

invite_to_folder
DestructiveIdempotent

Invite people to a folder by email, as guests who sign in to Playbook. Each new address gets an email with a sign-in link to the folder; they need no password. Use it to let a client into a hosted app open only to the folder's people. Unlike share_folder, this gives named people access rather than making a link anyone can open. A guest already on this folder gets the requested role instead of a second email, so calling again with another role changes it; without role they keep theirs. People who can already see the folder another way are left as they are (has_access). Confirm the addresses and the role with the user first: each address receives an email.

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": {
      "token": "<token>",
      "emails": "<emails>"
    },
    "name": "invite_to_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNo`view` sees the folder and comments. `share` can also make share links. `edit` is full control of the folder: it also changes, uploads and deletes assets, creates and deletes folders inside it, invites more people and publishes the folder. A hosted app where the visitor approves or sets a status needs `edit`; say what it allows before granting it. Omitted: `view` for new addresses, and guests already on the folder keep their role.
tokenYesFolder token
emailsYesEmail addresses to invite
messageNoA note added to the invite email, such as the app's address
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (destructive, idempotent, open-world) it discloses the real side effect — an email with a sign-in link is sent to each new address and no password is needed — and explains re-invocation semantics (existing guest gets the new role, people with access another way are left as-is with has_access). It does not state rate limits or how the response looks, but the key irreversible behavior is clear.

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 action and side effect, then the sibling contrast, then the re-invite semantics and the confirmation caution. It is dense but each sentence carries distinct information; only minor tightening is possible.

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 5-parameter mutation tool with no output schema, the description covers the side effect, the escalation risk, re-invocation behavior and the has_access outcome. It leaves return-value shape implicit, but nothing critical for correct invocation is missing.

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 spells out role values, token, message and organization, so the baseline is 3. The description reinforces role-switching behavior on repeat calls but adds little semantic detail beyond what the schema fields already provide.

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 concrete verb and resource ('Invite people to a folder by email') plus the resulting state (guests who sign in to Playbook) and explicitly contrasts with the sibling share_folder. An agent can distinguish it from share_folder without opening either schema.

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

Usage Guidelines5/5

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

Gives a concrete use case ('let a client into a hosted app open only to the folder's people'), names the alternative (share_folder with link access) and the condition that selects this tool, and adds a workflow instruction to confirm addresses and role with the user before sending.

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.

Resources