create_team_member_invite
Invite a team member to this company and return a one-time MCP accept token. The invited user must verify an email code through accept_team_invite_request and accept_team_invite_verify before membership and API key issuance.
This record as markdown: /tools/io-favcrm-favcrm/create-team-member-invite.md
What create_team_member_invite does on FavCRM
AI agents use create_team_member_invite to create or update resources in FavCRM, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your FavCRM environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | — | Optional display name for a new user |
role | string | — | Team member role to grant on acceptance |
email | string | Yes | Invitee email address |
modules | array | — | Optional legacy module list to attach to the company member |
permissions | array | — | Optional structured module permissions to attach to the company member |
expiresInHours | integer | — | Invite lifetime in hours. Defaults to 72, max 336. |
Parameters from the server's own tool schema.
Why create_team_member_invite is rated Medium
This tool creates new data (team member invitation) and triggers credential issuance (MCP accept token), fitting the Write category. Severity is high because misuse could grant unauthorized individuals access to the CRM system, customer data, and business operations.
From the tool's definition Tool creates a new invitation object and issues a one-time MCP accept token. Description states it invites a team member and returns a token, indicating persistent state creation (invitation record) and credential generation.
Attacks that exploit this kind of access
The rule that runs create_team_member_invite safely
PolicyLayer is an MCP gateway: it sits between your AI agents and FavCRM, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For create_team_member_invite, this is the rule to start with:
create_team_member_invite stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect FavCRM, apply this rule, and every create_team_member_invite call is checked against it from then on.
Questions about create_team_member_invite
Invite a team member to this company and return a one-time MCP accept token. The invited user must verify an email code through accept_team_invite_request and accept_team_invite_verify before membership and API key issuance. It is categorised as a Write tool in the FavCRM MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_team_member_invite accepts 6 parameters: name, role, email, modules, permissions, expiresInHours. Required: email. The full parameter table on this page comes from the server's own tool schema.
Register the FavCRM MCP server in PolicyLayer and add a rule for create_team_member_invite: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches FavCRM. Nothing to install.
create_team_member_invite is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_team_member_invite rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for create_team_member_invite. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
create_team_member_invite is provided by the FavCRM MCP server (https://api.favcrm.io/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on FavCRM, and thousands of servers like it.
This server
Across the catalogue