Skip to main content
Glama

Share a site with someone

invite_customer
Destructive

Share a site with somebody by email: a teammate or the client it is for. access view (the default) lets them see it in their own clay.site/projects and leave feedback; edit also lets them change it and put it live. They get a sign-in link (one use, seven days). Inviting somebody already on the site sends the link again and, with access, changes what they may do. Every paid plan; only the site's 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": "<site>",
      "email": "<email>"
    },
    "name": "invite_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesthe site's clay.site name (subdomain) or its id
emailYesthe person's email address
accessNoview: sees the site in their dashboard and leaves feedback. edit: can also change it and put it live. Default view.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already flag this as a mutating, open-world, non-idempotent, destructive operation, so the bar is lower. The description does add real value beyond them: the sign-in link is one-use and valid seven days, and re-inviting an existing member can change their permissions. However, it is vague about which plan failures look like, what the response contains, and how 'destructive' the access downgrade actually is, so it stops short of fully resolving the destructiveHint warning.

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?

Four compact sentences that front-load the action, then audience, then access semantics, then the edge case of re-inviting, and close with plan/ownership constraints. There is some redundancy with the schema's access description, and the last sentence is a dense clause, but nothing is waste.

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 annotations but no output schema, the definition covers the invite mechanics, link lifetime, permission effects, and authorization requirements. The main gap is that it never describes what the caller receives back (e.g., confirmation, invite state), which matters somewhat when no output schema exists.

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 are already documented, including the view/edit enum meanings. The description restates the access semantics ('view ... see it ... leave feedback; edit also lets them change it and put it live') almost verbatim from the schema, adding little beyond it. This is the expected baseline 3 when the schema carries the load.

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?

The description opens with a specific verb and resource: 'Share a site with somebody by email,' and immediately scopes the audience to 'a teammate or the client it is for.' This distinguishes it cleanly from remove_customer and list_customers in the sibling set, and an agent can act without opening the schema.

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?

It supplies concrete prerequisites ('Every paid plan; only the site's owner') and a key when-to-use nuance: inviting an existing member re-sends the link and, with 'access', modifies their permissions. It does not explicitly name an alternative tool or state when-not to use it, which keeps it short of a 5.

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