Skip to main content
Glama

Change a connector's permissions

set_agent_connector_permissions
DestructiveIdempotent

Control what a deployed agent may do with a connector: set allow, ask or block per action or category for chat and autopilot, previewing changes before saving.

Instructions

Change what a deployed agent may do with one of its Connectors without asking. Set a group (categories: read is Read-only, create is Create and send, change is Change and delete) or one action (tools, by its name from get_agent_connector_permissions), each in two columns: chat and autopilot, each allow, ask or block. Chat is when someone is talking to the agent: the Wiro web chat, a message sent with an API key or from this server, or an authorized Telegram, Slack or Discord chat. Autopilot is its scheduled tasks and the work before and after a voice call; any other work it does on its own, such as sub-agents and work in the background, takes the stricter of Chat and Autopilot for each action. Allow runs an action, Ask waits for a person to approve it in the chat, and Block never runs it; an action blocked in both is not shown to the agent at all. null removes a setting: a group's column goes back to its default, an action's to its group's. Setting a group's column also clears that column from its actions' own settings. reset: true first puts every group and action back to the defaults. By default, read-only actions run, and Create and send and Change and delete ask first in Chat and run in Autopilot. Call it without confirm first: it shows what changes for the agent, and saves nothing. After the user agrees, repeat the call as its nextAction shows, with confirm: true and summary_id; a confirm saves only the change its summary showed. A running agent gets most changes without a restart; a few restart it, which takes a minute or two. Only the person who deployed the agent or a team admin of its team can change them. Always allow on an approval card (answer_agent_approval) also sets an action to Allow.

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": {
      "agent_guid": "<agent_guid>",
      "connector": "<connector>"
    },
    "name": "set_agent_connector_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
resetNotrue: every group and action goes back to its default first, then categories and tools apply.
toolsNoAction values by the action's name, such as {"delete_post": {"chat": "block"}}.
confirmNoSet true only by repeating the change summary's nextAction, after the user approved that summary.
connectorYesThe connected connector's slug, such as "wordpress".
agent_guidYesThe deployed agent's guid, from list_my_agents.
categoriesNoGroup values, such as {"create": {"chat": "allow"}}.
summary_idNoFrom the change summary's nextAction: the id of the change the user saw. Never set it yourself.

Output Schema

NameRequiredDescriptionDefault
hidesNoActions the change blocks in both columns, so the agent stops seeing them.
showsNoActions blocked in both columns now that the agent sees again after the change.
titleYes
appliedNosaved: 1 when Wiro changed the permissions, 0 when they were already this.
changesYesEvery value the agent works with that the change moves, by action and column.
messageYes
outcomeYessummary: what the change does, and nothing is saved yet. saved: Wiro saved it. no_change: the permissions are already this.
restartNosaved: live (they apply to the running agent's next action, with no restart), scheduled (the running agent restarts to use them), none, or failed (they apply at its next start).
agentGuidYes
connectorYes
nextActionNo
permissionsNosaved: the permissions as they are now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Far exceeds the annotations (destructive, idempotent, openWorld): it defines the default permissions, explains that null reverts a group column to default and an action to its group, that setting a group column wipes that column from its actions, that reset:true restores all defaults, that some changes restart a running agent (a minute or two), and that only the deployer or a team admin may change permissions. Nothing conflicts with the destructive/idempotent hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is well front-loaded, but the middle collapses into one dense run-on covering categories, chat vs autopilot, allow/ask/block, null, reset and defaults. All of it is relevant, yet it would read far better as a short bulleted list; size and density cost it here.

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 destructive, 7-parameter, nested-object mutation tool, everything an agent needs is present: defaults, authorization, confirmation protocol, restart side effects, and precedence rules. With an output schema present, no return-value explanation is required.

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 already 100%, so the baseline is 3, but the description adds real meaning on top: the two-step confirm/summary_id protocol, the null-removal semantics, reset ordering, and the chat/autopilot precedence rule (other work takes the stricter of the two). It does not add new syntax guidance for categories/tools keys beyond the schema's examples, keeping it short of a 5.

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?

Opens with a precise verb+resource+scope: 'Change what a deployed agent may do with one of its Connectors without asking.' An agent can immediately distinguish it from get_agent_connector_permissions (read) and answer_agent_approval, both of which are named in the text.

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 strong when-to-use guidance: call without confirm first to preview and save nothing, then repeat with confirm and summary_id after approval. It also points at get_agent_connector_permissions for action names and states who is authorized. It never states an explicit exclusion (e.g. 'use update_agent instead for non-connector settings'), so this is clear context rather than a full when/when-not map.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.