Skip to main content
Glama

Add website editor

add_website_editor
Idempotent

Make a workspace member an editor of a website, by email. Editors can change the website, see its previews and put them live. The person must already be a member of the workspace with a role that can edit; to add someone new, invite them to the workspace first. Only a workspace owner can change the editors.

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>",
      "email": "<email>"
    },
    "name": "add_website_editor"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesThe member’s email
site_idYesThe id of the website site
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. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, idempotent behavior, and the description stays consistent with that by framing the call as granting an existing capability rather than creating a user. It adds permission requirements and the resulting editor privileges, which go beyond the structured fields; it stops short of saying what happens on repeat calls or on a non-member email (error vs. no-op).

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?

Three tight sentences: action first, then effect, then prerequisites and permission gate. No restatement of the title and nothing wasted.

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 three-parameter mutation with no output schema and full annotation coverage, the description supplies the important surrounding context: prerequisite membership, owner-only permission, and what the granted role entails. The workspace scoping nuance lives in the schema, so nothing critical 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%, so all three parameters, including the nuanced optional workspace_id resolution rule, are already documented in the schema. The description reinforces the email as the target identifier but adds no format or edge-case detail beyond the schema, so the baseline applies.

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 precise mutation ('make a workspace member an editor of a website') plus the identifying key ('by email'), and spells out the resulting capability (change the site, see previews, publish). An agent can immediately tell this apart from the inverse remove_website_editor sibling.

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

Usage Guidelines4/5

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

Gives real preconditions: the person must already be a workspace member with an edit-capable role, and the alternative path is explicit ('invite them to the workspace first'). It also gates who may call it ('Only a workspace owner can change the editors'). It does not explicitly name the removal counterpart, but the when-to-use context is clear.

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.