Skip to main content
Glama

Change an agent's skills

apply_agent_skills
DestructiveIdempotent

Turn registry skills on or off for a deployed agent. Every plan includes every skill, so a skill change costs nothing: the plan keeps its price and monthly credits, and no active plan is needed. The change is applied on the first call, so tell the user what turns on or off and get their yes first. The tool checks the names and turns on the skills they depend on (add_dependencies); the result lists them, the credentials the new skills still need and the scheduled tasks the change paused. A running agent restarts once when a skill turns on or off. A skill's work uses the agent's credits, and model runs it starts are billed to the wallet of the workspace that owns the Wiro project connected to the agent. Newly enabled skills may still need credentials (set_agent_credentials, connect_agent_oauth, bind_agent_project for a Wiro project) and do not create scheduled tasks (manage_agent_custom_skill does). On a team agent only a team admin or the person who deployed the agent can change its skills; other members are refused and nothing changes. Every result gives an idempotency_key: if an answer does not arrive, repeat the same change with it, which never applies the change twice. To change the plan, use manage_agent_billing (change_plan). Find skill names with list_agent_skills and the agent's current skills with get_my_agent. The agents playbook (get_playbook) has the full setup walkthrough.

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>",
      "skills": "<skills>"
    },
    "name": "apply_agent_skills"
  }
}

Input Schema

NameRequiredDescriptionDefault
skillsYesSkills to change, as name: true to turn on or name: false to turn off, for example {"int-instagram-post": true}. Registry names only (list_agent_skills). Custom skills and scheduled tasks (cs-...) are managed with manage_agent_custom_skill; channels such as Telegram turn on through set_agent_credentials.
agent_guidYesThe deployed agent's guid, from list_my_agents.
idempotency_keyNoOnly to repeat a change whose answer did not arrive: the idempotency_key that change returned or its error names. Repeating it never applies the change twice. Leave it out for a new change.
add_dependenciesNoAlso turn on the skills that the enabled skills depend on (default true). Without them the change is refused.

Output Schema

NameRequiredDescriptionDefault
noteYesWhat the change does to the plan and its cost: nothing, since every plan includes every skill.
errorNo
statusYes
changesYes
restartYes
agentGuidYes
nextActionNo
agentStatusYes
pausedTasksNoAfter an applied change: the scheduled tasks it paused, which wait for skills that are off. get_my_agent names those skills.
enabledSkillsNo
idempotencyKeyNoThe key of this change. If the answer to it does not arrive, repeating the same change with this key never applies it twice.
credentialsNeededYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say it is a write, destructive, idempotent, open-world operation; the description supplies the actual consequences: no price change, no active plan required, application on first call, a single restart of the running agent, paused scheduled tasks listed in the result, credentials still needed, and billing routed to the Wiro-project workspace's wallet. It also goes beyond the annotations by defining the idempotency_key recovery procedure and the admin/deployer authorization rule.

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?

The core action is front-loaded in the first sentence and every sentence carries concrete information, but the middle section is a dense run of billing, credential, and scheduled-task caveats that is harder to scan than a short bulleted structure would be. Nothing is clearly filler, so the cost is density rather than waste.

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 mutable, permission-gated, credit-consuming tool the description covers cost, authorization, side effects, failure recovery, dependency handling, and follow-up tools, and it summarizes the result even though an output schema exists. An agent has what it needs to call this safely without opening other documentation.

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 already documents skills, add_dependencies (including the refusal when dependencies are missing), agent_guid, and idempotency_key, so the baseline applies. The description mostly restates this in workflow terms ('the tool checks the names and turns on the skills they depend on (add_dependencies)') without adding syntax or formats the schema lacks.

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?

The first sentence names a specific verb and resource with scope: 'Turn registry skills on or off for a deployed agent.' The word 'registry' immediately separates it from custom skills and channels, which the description confirms by naming manage_agent_custom_skill and set_agent_credentials as the tools for those cases.

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?

It gives explicit routing: manage_agent_billing (change_plan) for plan changes, list_agent_skills for names, get_my_agent for current state, get_playbook for the full walkthrough. It also states a usage precondition ('tell the user what turns on or off and get their yes first') and the permission rule that refuses non-admins, so the agent knows both when to call and when the call will fail.

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.