Skip to main content
Glama

Turn a contact's portal access on or off

tarkle_set_portal_access
Idempotent

Turn the client portal on or off for one contact (get contactId from tarkle_list_contacts). Turning it ON for the first time EMAILS the contact an invite to sign in to the workspace's portal (Pro feature). Turning it off sends nothing and takes effect at once. Asking to turn it on asks for confirmation first: the first call changes nothing; ask the user, then call again with the same inputs and the confirmationCode from the first answer.

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": {
      "workspaceId": "<workspaceId>",
      "contactId": "<contactId>",
      "enabled": "<enabled>"
    },
    "name": "tarkle_set_portal_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYestrue turns the client portal on for this contact. false turns it off.
contactIdYesThe contact's id, from tarkle_list_contacts.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.
confirmationCodeNoThe code from the first answer of this tool for these exact inputs. Send it only after the user approved emailing this contact an invite.

Output Schema

NameRequiredDescriptionDefault
contactIdNo
portalAccessNo
inviteEmailSentNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations it discloses the side effect that matters most: enabling for the first time sends an email invite, while disabling sends nothing and applies immediately. It also documents the two-phase confirmation behavior (first call is a no-op). It doesn't say what happens on a repeated enable for an already-enabled contact, which is the one gap.

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?

Front-loaded with the core action, then side effects, then the confirmation protocol in the order an agent needs them. Dense but essentially waste-free; the long final sentence is the only place a reader has to work slightly harder.

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?

An output schema exists, so return values need no explanation, and the remaining complexity (email side effect, Pro gating, confirmation handshake) is covered. An agent has everything needed to call it correctly.

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 every parameter including confirmationCode and the analytics-only llm_model is already documented in the schema. The description reinforces the contactId source and the confirmation flow but adds no syntax or format meaning beyond what the schema provides.

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 with clear scope: turn the client portal on or off for exactly one contact. It also names the sibling that supplies the identifier (tarkle_list_contacts), so an agent can distinguish the lookup step from the mutation step.

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 explicit conditions: use it for one contact at a time, turning on the first time emails an invite (Pro feature), turning off is silent and immediate. It also spells out the required confirmation sequence rather than leaving the agent to infer it.

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.