Skip to main content
Glama

Accept a pending invitation for the invitee (staff)

accept_invite_on_behalf

Staff only. Completes a pending email member invite the way a real sign-up does: the login (set to the invite's email, plus phone if given), the seat, roles and plan rows. No password is set; the person signs in later by email or phone code. invite_id comes from list_team pending_invites. Without confirm it returns the invitation and changes nothing. Logged to the account's action log.

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": {
      "invite_id": "<invite_id>"
    },
    "name": "accept_invite_on_behalf"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneNoE.164. Optional; set as the login's phone.
confirmNoAccepts it.
invite_idYes
last_nameNo
first_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, non-destructive, non-idempotent mutation. The description adds substantial context beyond that: it creates login/seat/roles/plan rows, sets no password, uses email or phone code sign-in, supports a dry-run, and is written to the action log. It does not say what happens if the invite was already accepted, which matters given idempotentHint=false.

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?

Four compact sentences, front-loaded with the "Staff only" gate, then side effects, then the dry-run rule, then the log entry. No filler and no repetition of the title or annotations.

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 with no output schema, the definition covers prerequisites, side effects, the dry-run return value, and auditing. The remaining gap is failure behavior (already-accepted or expired invites) rather than anything an agent needs to make the call.

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 40%, so the description must compensate. It explains invite_id's source, confirm as the dry-run gate, and phone as the login's phone (schema already has E.164). first_name and last_name have neither schema descriptions nor mention in the description, leaving the name-setting behavior to inference.

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?

"Completes a pending email member invite" names a specific action on a specific resource, and the elaboration (login, seat, roles, plan rows) tells the agent exactly what gets materialized. It is clearly separable from invite_member or resend_member_invite, though it never names an alternative to rule out explicitly.

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 a real precondition ("Staff only"), tells the agent where invite_id comes from ("list_team pending_invites"), and defines the safe default: without confirm it returns the invitation and changes nothing. No explicit when-not-to-use or sibling comparison, so it stops 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.