Skip to main content
Glama

Invite customer contact to portal

invite_customer_contact_to_portal
Destructive

Email a customer contact a link to sign in to the Soundcheck client portal for this organization. Requires the client-portal entitlement and CRM manager access. Writes to a real person. Confirmation-gated.

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": {
      "contact_id": "<contact_id>"
    },
    "name": "invite_customer_contact_to_portal"
  }
}

Input Schema

NameRequiredDescriptionDefault
contact_idYescustomer contact id (not the customer id) from the customer record
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { status, invitation_id } }
errorNowhen ok is false

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 already declare destructiveHint=true and openWorldHint=true, but the description adds real value by explaining why: it emails a real person, needs an entitlement and CRM manager access, and is confirmation-gated. The only gap is that with idempotentHint=false it never says what happens if the contact was already invited or already has portal access.

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 short sentences, each carrying distinct information: action, prerequisites, side-effect nature, and gating. The critical constraint is front-loaded and there is no filler.

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 confirmation-gated outbound action with an output schema and full parameter documentation, the description covers the essentials: who is affected, what access is required, and the gating flow. The missing piece is failure/duplicate behavior for a non-idempotent invite.

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%, and the schema itself already distinguishes contact_id from customer id and explains the confirmation_token two-step flow. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource: emailing a customer contact a sign-in link for the Soundcheck client portal, scoped to 'this organization'. It is clearly distinct from invite_org_member by naming 'customer contact' and 'client portal', though it never explicitly contrasts the two.

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 clear preconditions ('Requires the client-portal entitlement and CRM manager access') and flags that the action is confirmation-gated, which tells the agent what to expect before calling. It stops short of stating when not to use it or naming a sibling alternative such as invite_org_member.

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.