Skip to main content
Glama

Change an agent's skills

apply_agent_skills
DestructiveIdempotent

Turn skills on or off for a deployed agent, checking dependencies and returning required credentials, connectors, paused tasks, and an idempotency key for safe retries.

Instructions

Turn Skills on or off for a deployed agent. Outside services are Connectors and connect with connect_agent_connector instead. Every plan includes every skill, so a skill change costs nothing: the plan keeps its price and the AI usage it includes, 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, the Connectors they work with that the agent has not connected, and the scheduled tasks the change paused. A running agent gets most changes without a restart; a few restart it, which takes a minute or two. A skill's work uses the agent's AI usage (its plan first, then the workspace balance), 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, 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 {"util-video-creator": 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; connectors connect with connect_agent_connector.
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
liveNoAfter an applied change: true when the running agent got it with no restart, as Wiro answers it.
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
connectorsToConnectNoAfter an applied change: the Connectors the skills it turned on work with that the agent has not connected. None connects by itself: connect_agent_connector connects each one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.0
    • changedInput schema / properties / skills / description
      Previous value: -"Skills 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."New value: +"Skills to change, as name: true to turn on or name: false to turn off, for example {\"util-video-creator\": 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; connectors connect with connect_agent_connector."
    • addedOutput schema / properties / connectorsToConnect
      Added value: +{
      +  "description": "After an applied change: the Connectors the skills it turned on work with that the agent has not connected. None connects by itself: connect_agent_connector connects each one.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "connector": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "connector"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / live
      Added value: +{
      +  "description": "After an applied change: true when the running agent got it with no restart, as Wiro answers it.",
      +  "type": "boolean"
      +}
  2. Changed14 schema fields changedv1.6.1
    • removedInput schema / properties / confirm
      Removed value: -{
      -  "default": false,
      -  "description": "false (default) only returns the quote. true applies the change and charges it; it needs the idempotency_key from the quote.",
      -  "type": "boolean"
      -}
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"With confirm: true, the key from the quote the user approved. It ties the approval to the quoted prices and, on a prepaid plan, the billing period, and repeating the call with it after a timeout never applies the change twice. Omit it to get a quote."New value: +"Only 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."
    • removedInput schema / properties / tier
      Removed value: -{
      -  "description": "Optional: also move from Starter to Pro in this billed change. To upgrade without a skill change, use manage_agent_billing (upgrade_to_pro).",
      -  "enum": [
      -    "starter",
      -    "pro"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / billing
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "chargedNowUsd": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "creditNowUsd": {
      -      "description": "For a drop on a wallet plan, what goes back to the balances that paid; null when it is worked out when the change is applied.",
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "estimatedChargeNowUsd": {
      -      "description": "What a wallet plan pays now at list price, as Wiro works it out, before any discount on the wallet; 0 on a card plan, whose difference goes to the card subscription.",
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "plan": {
      -      "enum": [
      -        "prepaid",
      -        "card",
      -        "none"
      -      ],
      -      "type": "string"
      -    },
      -    "subscriptionStatus": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "usedCreditsUsd": {
      -      "description": "The part of a credit that comes off for credits already used above what the plan keeps.",
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "wallet": {
      -      "enum": [
      -        "team",
      -        "personal"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "plan",
      -    "subscriptionStatus",
      -    "wallet",
      -    "note"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / properties / error / properties / availableUsd
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / error / properties / requiredUsd
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / idempotencyKey / description
      Added value: +"The key of this change. If the answer to it does not arrive, repeating the same change with this key never applies it twice."
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "What the change does to the plan and its cost: nothing, since every plan includes every skill.",
      +  "type": "string"
      +}
    • removedOutput schema / properties / priceChanged
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / pricing
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "creditsFromRenewal": {
      -      "description": "The monthly credits every renewal grants after the change.",
      -      "type": "number"
      -    },
      -    "creditsNow": {
      -      "description": "The credits this period gains now, below 0 when it loses them: the change counts for the time left in the period.",
      -      "type": "number"
      -    },
      -    "creditsThisPeriod": {
      -      "description": "The monthly credits this period grants in all after the change.",
      -      "type": "number"
      -    },
      -    "currentMonthlyCredits": {
      -      "description": "The monthly credits each renewal grants now.",
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "currentMonthlyUsd": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "deltaMonthlyCredits": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "deltaMonthlyUsd": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "newMonthlyCredits": {
      -      "description": "The monthly credits each renewal grants after the change.",
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "newMonthlyUsd": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "periodEnd": {
      -      "description": "When the current period ends.",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "currentMonthlyUsd",
      -    "newMonthlyUsd",
      -    "deltaMonthlyUsd",
      -    "currentMonthlyCredits",
      -    "newMonthlyCredits",
      -    "deltaMonthlyCredits"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / properties / scheduledTasks
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "resume": {
      -          "description": "Scheduled tasks that do not run now and start running once this change is applied, and the agent is running.",
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "stop": {
      -          "description": "Scheduled tasks this change stops: they run now, or would once an agent that is not running starts. They keep their text, schedule and on/off state, and get_my_agent then shows what each waits for.",
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "stop",
      -        "resume"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "Quote: the scheduled tasks this change stops or starts, as Wiro works it out; null when Wiro could not tell."
      -}
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "quote",
      -  "applied",
      -  "no_change",
      -  "refused"
      -]New value: +[
      +  "applied",
      +  "no_change",
      +  "refused"
      +]
    • removedOutput schema / properties / tier
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "current": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "next": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "current",
      -    "next"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "agentGuid",
      -  "status",
      -  "changes",
      -  "tier",
      -  "billing",
      -  "credentialsNeeded",
      -  "agentStatus",
      -  "restart"
      -]New value: +[
      +  "agentGuid",
      +  "status",
      +  "changes",
      +  "note",
      +  "credentialsNeeded",
      +  "agentStatus",
      +  "restart"
      +]
  3. Changed2 schema fields changedv1.5.3
    • addedInput schema / properties / skills / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / nextAction / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  4. Changed12 schema fields changedv1.5.1
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"With confirm: true, the key from the quote the user approved. It ties the approval to the quoted prices, and repeating the call with it after a timeout never applies the change twice. Omit it to get a quote."New value: +"With confirm: true, the key from the quote the user approved. It ties the approval to the quoted prices and, on a prepaid plan, the billing period, and repeating the call with it after a timeout never applies the change twice. Omit it to get a quote."
    • addedOutput schema / properties / billing / properties / creditNowUsd
      Added value: +{
      +  "description": "For a drop on a wallet plan, what goes back to the balances that paid; null when it is worked out when the change is applied.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / billing / properties / estimatedChargeNowUsd / description
      Added value: +"What a wallet plan pays now at list price, as Wiro works it out, before any discount on the wallet; 0 on a card plan, whose difference goes to the card subscription."
    • addedOutput schema / properties / billing / properties / usedCreditsUsd
      Added value: +{
      +  "description": "The part of a credit that comes off for credits already used above what the plan keeps.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / pausedTasks
      Added value: +{
      +  "description": "After an applied change: the scheduled tasks it paused, which wait for skills that are off. get_my_agent names those skills.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / pricing / properties / creditsFromRenewal
      Added value: +{
      +  "description": "The monthly credits every renewal grants after the change.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / pricing / properties / creditsNow
      Added value: +{
      +  "description": "The credits this period gains now, below 0 when it loses them: the change counts for the time left in the period.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / pricing / properties / creditsThisPeriod
      Added value: +{
      +  "description": "The monthly credits this period grants in all after the change.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / pricing / properties / currentMonthlyCredits / description
      Added value: +"The monthly credits each renewal grants now."
    • addedOutput schema / properties / pricing / properties / newMonthlyCredits / description
      Added value: +"The monthly credits each renewal grants after the change."
    • addedOutput schema / properties / pricing / properties / periodEnd
      Added value: +{
      +  "description": "When the current period ends.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / scheduledTasks
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "resume": {
      +          "description": "Scheduled tasks that do not run now and start running once this change is applied, and the agent is running.",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "stop": {
      +          "description": "Scheduled tasks this change stops: they run now, or would once an agent that is not running starts. They keep their text, schedule and on/off state, and get_my_agent then shows what each waits for.",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "stop",
      +        "resume"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Quote: the scheduled tasks this change stops or starts, as Wiro works it out; null when Wiro could not tell."
      +}
  5. Addedv1.4.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=true, idempotentHint=true, openWorldHint=true), and the description adds substantial context beyond them: cost behavior (plan price and included AI usage unchanged, no active plan needed), when the change lands ('applied on the first call'), restart impact ('most changes without a restart; a few restart it'), automatic dependency enabling, credential/connector/scheduled-task side effects, and the retry contract for idempotency_key. No claim conflicts with the annotations.

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?

Purpose and the connector exclusion are front-loaded, and every paragraph carries operational detail. It is a dense block, though, and the sentence on AI usage, plan balance and the wallet of the workspace owning the Wiro project is only loosely tied to the act of toggling skills, which makes it heavier than it needs to be.

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 mutation tool that is destructive and involves nested parameters, it covers everything an agent needs: permissions, confirmation-before-call, restart effects, dependency handling, retry via idempotency_key, and next-step tools for credentials, projects and scheduled tasks. An output schema exists, yet the prose still usefully previews what the result lists (dependencies, missing credentials, unconnected connectors, paused tasks).

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 coverage is 100%, including descriptions for skills, agent_guid, idempotency_key and add_dependencies, so the schema already carries the parameter burden and baseline 3 applies. The description adds modest extra meaning — where to look up skill names (list_agent_skills) and that dependencies are auto-enabled, with add_dependencies named — but repeats rather than extends the schema's idempotency and dependency explanations.

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 specific verb and resource: 'Turn Skills on or off for a deployed agent.' It immediately distinguishes the resource from a neighboring one ('Outside services are Connectors and connect with connect_agent_connector instead'), so the agent can separate this from connector tooling without opening a schema.

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?

Explicitly routes to alternatives by condition: plan changes go to manage_agent_billing (change_plan), custom skills and scheduled tasks to manage_agent_custom_skill, credentials to set_agent_credentials, name discovery to list_agent_skills. It also states a pre-call obligation ('tell the user what turns on or off and get their yes first') and the team permission rule, so both when-to-use and when-not-to-use are covered.

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