Skip to main content
Glama

Add to allowlist

add_to_allowlist
Idempotent

Use when the user wants to let one more person in, invite a client, or share it with the team. Adds email and/or domain entries to a private site's allowlist WITHOUT removing anyone already on it; use this to share with more people. Entries already present are left untouched (the call is idempotent), and everyone previously allowed keeps their access. To replace the entire list instead, use set_allowlist; to take someone off, use remove_from_allowlist. Email entries work on every plan (a Free page can name up to 3 people, Pro has no limit); domain entries need Pro. A plan_limit refusal names the plan, and where one lapsed, how to get it back. The site must be allowlist (private); make it private first with set_visibility if it is public. Each newly-added email receives an invite email; the optional message is included in it as a personal note from the owner.

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": {
      "site_id": "<site_id>",
      "allowlist": "<allowlist>"
    },
    "name": "add_to_allowlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNoOptional personal note included in the invite email sent to each newly-added email entry (max 1000 characters). Not persisted; domain entries get no email.
site_idYesThe id of the site to update
allowlistYesEntries to add; appended to the existing allowlist, duplicates ignored
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly=false, destructive=false and idempotent=true, and the description adds real context beyond them: existing entries are untouched, invited emails get an invite message, domain entries send no email, email entries are plan-capped (3 on Free) while domains require Pro, and a plan_limit refusal carries recovery info. This is behavior an agent could not infer from structured fields.

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 use case and the alternative tools before the details, and every sentence is substantive. Slight redundancy remains: the non-removal constraint is stated three ways ('WITHOUT removing anyone', 'left untouched', 'keeps their access'), which could collapse into one.

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

Completeness5/5

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

Covers the prerequisite state (site must be private), the failure mode (plan_limit and what it tells you), side effects (invite emails, no notification for domain entries), and plan-tier limits. With no output schema and full param coverage, nothing an agent needs in order to call this correctly is missing.

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; the description earns an extra point by explaining the consequence of the message parameter (delivered as an owner's personal note in each invite, no email for domain entries) and by attaching plan constraints to the kind values. Some of this duplicates the schema text, so it is not a full 5.

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+resource ('Adds email and/or domain entries to a private site's allowlist') and immediately pins the scope with 'WITHOUT removing anyone already on it', which separates it from set_allowlist and remove_from_allowlist by name.

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?

Opens with the user intents that select this tool ('let one more person in, invite a client, or share it with the team') and explicitly routes the two adjacent cases elsewhere: set_allowlist for full replacement, remove_from_allowlist for removal. It also gives the prerequisite that the site must be private, with set_visibility named as the fix.

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.