Skip to main content
Glama

Invite someone to the workspace

invite_member

Asks to invite a person to the workspace by email, as a member, or, with action, to send a waiting invitation again or cancel it. Only owners and admins can do this. Nothing happens until you approve it in CodeGene: the answer gives a link to the request, which waits there for 15 minutes. Send the person that link; you cannot approve it. Then call get_approval with the requestId to learn how it ended. Once approved, CodeGene emails them the invitation (sending it again gives them a new link, and the earlier one stops working), or a cancelled invitation's link stops working.

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": {
      "email": "<email>",
      "reason": "<reason>"
    },
    "name": "invite_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesTheir email address: the person to invite, or the address a waiting invitation went to.
actionNoinvite (the default): invite them. resend: send their waiting invitation again. cancel: cancel their waiting invitation.
reasonYesWhy, in a sentence: kept in the workspace's activity.
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare it is a non-read-only, non-open-world, non-destructive write, so the description carries the real behavioral burden and does so: authorization ('only owners and admins'), the human-approval gate, a 15-minute expiry window, the returned request link, and the side effect that resending invalidates the earlier link and cancelling kills it. These are exactly the non-obvious traits an agent needs before calling.

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?

Dense and front-loaded with the action plus the approval-flow constraint, with essentially no filler sentences. Some sentences are overstuffed with nested clauses (the final one packs resend-and-cancel consequences together), which slightly reduces scannability.

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?

For a four-parameter tool with no output schema, the description covers permissions, approval, timeout, the response shape (a request link plus requestId), and the follow-up call. Nothing an agent needs to invoke and correctly handle the result 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 adds genuine meaning beyond it by explaining that resending issues a new link while the previous one stops working and that cancelling invalidates the link. The email/reason/workspace_id semantics remain schema-only, which is acceptable at full coverage.

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 and resource ('invite a person to the workspace by email') and immediately enumerates the three modes the single tool covers (invite, resend, cancel). An agent can tell exactly what this tool does without opening the schema, and the asynchronous nature ('asks to invite', approval gate) is made explicit.

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 the conditions for each mode (invite, resend a waiting invitation, cancel it) and names the follow-up tool explicitly: 'call get_approval with the requestId to learn how it ended.' It also states the boundary of agent capability ('you cannot approve it'), which prevents a pointless retry loop.

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