Skip to main content
Glama

Manage custom skills and scheduled tasks

manage_agent_custom_skill
Destructive

Create, update, rename, delete, and review a deployed agent's custom skills and scheduled tasks, including version history and reverting to templates.

Instructions

Create and manage a deployed agent's own skills. A custom skill (key cs-...) is standing instructions the agent follows, for example a tone or an approval policy. A scheduled task (key cs-cron-...) is a prompt the agent runs by itself on a cron schedule, for example a weekly report. A custom skill is also how the agent learns to use a connected Connector's tools (named __, listed by list_agent_connectors): when to call which one and how. Actions: upsert creates or updates one (a bare key such as "weekly-report" updates the agent's own entry of that name when there is one, and otherwise gets its prefix from kind or interval; the result gives the final key); rename changes the key of one you created; delete removes one you created together with its history (needs confirm: true); history shows the current text in full and lists earlier versions, the template default and ready-made templates (key "cs-my-custom-strategy" or "cs-cron-my-scheduled-task" gives starter templates); revert restores the template default or an earlier version (needs confirm: true). Schedules use the agent's time zone, which is UTC unless it was set with update_agent; a new task without interval runs Mondays at 10:00. Every scheduled run uses the agent's AI usage (its plan first, then the workspace balance), so confirm the schedule with the user. Entries from the agent's template, cs-approval-policy and the scheduled tasks its skills brought cannot be deleted or renamed: set enabled false instead. A scheduled task that comes with the agent's template runs the template's text, so its text cannot be changed (get_my_agent and this tool mark it editable: false); its schedule and on/off state can. Turning off cs-approval-policy or changing its text also needs confirm: true: off, or a text that allows it, lets the agent act on outside services by itself without waiting for the user's yes. A running agent gets most changes without a restart; a few restart it, which takes a minute or two. The result says which happened. get_my_agent lists the current entries. Registry skills are switched with apply_agent_skills, and Connectors connected with connect_agent_connector. On a team agent this needs a team admin or the person who deployed it; other team members read each entry in full with get_my_agent (entry). The agents playbook (get_playbook) covers custom skills and schedules.

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": {
      "action": "<action>",
      "agent_guid": "<agent_guid>",
      "key": "<key>"
    },
    "name": "manage_agent_custom_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe entry's key: a full key (cs-... or cs-cron-...) or a bare slug such as "weekly-report" (lowercase letters, digits, single dashes). A bare slug names the agent's existing entry of that name, whichever kind it is.
kindNoskill (instructions, cs-) or scheduled_task (runs on a schedule, cs-cron-). Decides the prefix of a bare key; without it a new bare key becomes a custom skill unless interval is given.
limitNohistory: how many versions to return, newest first (default 20).
valueNoupsert: the instructions (custom skill) or the prompt to run (scheduled task). Required when creating. A scheduled task that comes with the agent's template keeps the template's text.
actionYesWhat to do.
sourceNorevert: preset (the template default) or history (an earlier version).
confirmNodelete, revert and an upsert that turns off cs-approval-policy or changes its text: true to do it after the user agreed. Without it they only describe what would happen.
enabledNoupsert: true to turn it on, false to turn it off. New entries start on.
new_keyNorename: the new key, of the same kind.
intervalNoupsert, scheduled tasks only: a 5-field cron expression such as "0 9 * * 1-5" (weekdays 09:00). Omit to keep the current schedule, or Mondays 10:00 for a new task.
agent_guidYesThe deployed agent's guid, from list_my_agents.
version_idNorevert with source history: a versionId from action history.
descriptionNoupsert or rename: a short summary the agent uses to pick the skill. Fixed for entries that come with the agent.

Output Schema

NameRequiredDescriptionDefault
keyYes
kindYes
liveNoWhether the running agent got this change with no restart, as Wiro answers it: a custom skill from its next message, a scheduled task from its next run.
entryNo
actionYes
statusYes
createdNo
historyNo
messageYes
restartNo
scheduleNo
warningsYes
agentGuidYes
renamedToNo
templatesNo
nextActionNo
restartingNoWhether this change restarts the agent, as Wiro answers it.
revertResultNo
presetDefaultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.0.0
    • changedInput schema / properties / value / description
      Previous value: -"upsert: the instructions (custom skill) or the prompt to run (scheduled task). Required when creating."New value: +"upsert: the instructions (custom skill) or the prompt to run (scheduled task). Required when creating. A scheduled task that comes with the agent's template keeps the template's text."
    • changedOutput schema / properties / entry / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "type": "string"
      -      },
      -      "enabled": {
      -        "type": "boolean"
      -      },
      -      "interval": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "key": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "enum": [
      -          "skill",
      -          "scheduled_task"
      -        ],
      -        "type": "string"
      -      },
      -      "notWritten": {
      -        "description": "The starter task whose text was never written. It does not run, even when it shows on, until its text is saved.",
      -        "type": "boolean"
      -      },
      -      "offSkills": {
      -        "description": "While skillOff is true, the skills that end the pause, as lists: turn on one skill from each list. The task then runs while the services it needs are connected.",
      -        "items": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "type": "array"
      -      },
      -      "origin": {
      -        "enum": [
      -          "agent",
      -          "user"
      -        ],
      -        "type": "string"
      -      },
      -      "ownerSkills": {
      -        "description": "The skills that bring this scheduled task.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "skillOff": {
      -        "description": "The scheduled task is paused because the skills it needs are off: it does not run, even when it shows on, until one skill from each list in offSkills is turned on with apply_agent_skills. Its own on/off state, text and schedule stay as they are.",
      -        "type": "boolean"
      -      },
      -      "value": {
      -        "type": "string"
      -      },
      -      "valueTruncated": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "kind",
      -      "description",
      -      "value",
      -      "interval",
      -      "enabled",
      -      "origin"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "type": "string"
      +      },
      +      "editable": {
      +        "description": "false: a scheduled task that comes with the agent's template. The agent runs the template's text, shown in value, which cannot be changed; its schedule and on/off state can.",
      +        "type": "boolean"
      +      },
      +      "enabled": {
      +        "type": "boolean"
      +      },
      +      "interval": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "key": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "enum": [
      +          "skill",
      +          "scheduled_task"
      +        ],
      +        "type": "string"
      +      },
      +      "notWritten": {
      +        "description": "The starter task whose text was never written. It does not run, even when it shows on, until its text is saved.",
      +        "type": "boolean"
      +      },
      +      "offSkills": {
      +        "description": "While skillOff is true, the skills that end the pause, as lists: turn on one skill from each list. The task then runs while the services it needs are connected.",
      +        "items": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "type": "array"
      +      },
      +      "origin": {
      +        "enum": [
      +          "agent",
      +          "user"
      +        ],
      +        "type": "string"
      +      },
      +      "ownerSkills": {
      +        "description": "The skills that bring this scheduled task.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "skillOff": {
      +        "description": "The scheduled task is paused because the skills it needs are off: it does not run, even when it shows on, until one skill from each list in offSkills is turned on with apply_agent_skills. Its own on/off state, text and schedule stay as they are.",
      +        "type": "boolean"
      +      },
      +      "value": {
      +        "type": "string"
      +      },
      +      "valueTruncated": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "kind",
      +      "description",
      +      "value",
      +      "interval",
      +      "enabled",
      +      "origin"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / live
      Added value: +{
      +  "description": "Whether the running agent got this change with no restart, as Wiro answers it: a custom skill from its next message, a scheduled task from its next run.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / restarting / description
      Previous value: -"upsert: whether this save restarts the agent, as Wiro answers it. false also covers a text edit that reaches a running agent without a restart."New value: +"Whether this change restarts the agent, as Wiro answers it."
  2. Changed2 schema fields changedv1.5.3
    • changedOutput schema / properties / entry / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "type": "string"
      -      },
      -      "enabled": {
      -        "type": "boolean"
      -      },
      -      "interval": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "key": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "$ref": "#/properties/kind"
      -      },
      -      "notWritten": {
      -        "description": "The starter task whose text was never written. It does not run, even when it shows on, until its text is saved.",
      -        "type": "boolean"
      -      },
      -      "offSkills": {
      -        "description": "While skillOff is true, the skills that end the pause, as lists: turn on one skill from each list. The task then runs while the services it needs are connected.",
      -        "items": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "type": "array"
      -      },
      -      "origin": {
      -        "enum": [
      -          "agent",
      -          "user"
      -        ],
      -        "type": "string"
      -      },
      -      "ownerSkills": {
      -        "description": "The skills that bring this scheduled task.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "skillOff": {
      -        "description": "The scheduled task is paused because the skills it needs are off: it does not run, even when it shows on, until one skill from each list in offSkills is turned on with apply_agent_skills. Its own on/off state, text and schedule stay as they are.",
      -        "type": "boolean"
      -      },
      -      "value": {
      -        "type": "string"
      -      },
      -      "valueTruncated": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "kind",
      -      "description",
      -      "value",
      -      "interval",
      -      "enabled",
      -      "origin"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "type": "string"
      +      },
      +      "enabled": {
      +        "type": "boolean"
      +      },
      +      "interval": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "key": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "enum": [
      +          "skill",
      +          "scheduled_task"
      +        ],
      +        "type": "string"
      +      },
      +      "notWritten": {
      +        "description": "The starter task whose text was never written. It does not run, even when it shows on, until its text is saved.",
      +        "type": "boolean"
      +      },
      +      "offSkills": {
      +        "description": "While skillOff is true, the skills that end the pause, as lists: turn on one skill from each list. The task then runs while the services it needs are connected.",
      +        "items": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "type": "array"
      +      },
      +      "origin": {
      +        "enum": [
      +          "agent",
      +          "user"
      +        ],
      +        "type": "string"
      +      },
      +      "ownerSkills": {
      +        "description": "The skills that bring this scheduled task.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "skillOff": {
      +        "description": "The scheduled task is paused because the skills it needs are off: it does not run, even when it shows on, until one skill from each list in offSkills is turned on with apply_agent_skills. Its own on/off state, text and schedule stay as they are.",
      +        "type": "boolean"
      +      },
      +      "value": {
      +        "type": "string"
      +      },
      +      "valueTruncated": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "kind",
      +      "description",
      +      "value",
      +      "interval",
      +      "enabled",
      +      "origin"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / nextAction / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  3. Changed3 schema fields changedv1.5.1
    • changedInput schema / properties / confirm / description
      Previous value: -"delete and revert: true to do it after the user agreed. Without it they only describe what would happen."New value: +"delete, revert and an upsert that turns off cs-approval-policy or changes its text: true to do it after the user agreed. Without it they only describe what would happen."
    • changedOutput schema / properties / entry / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "type": "string"
      -      },
      -      "enabled": {
      -        "type": "boolean"
      -      },
      -      "interval": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "key": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "$ref": "#/properties/kind"
      -      },
      -      "origin": {
      -        "enum": [
      -          "agent",
      -          "user"
      -        ],
      -        "type": "string"
      -      },
      -      "value": {
      -        "type": "string"
      -      },
      -      "valueTruncated": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "key",
      -      "kind",
      -      "description",
      -      "value",
      -      "interval",
      -      "enabled",
      -      "origin"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "type": "string"
      +      },
      +      "enabled": {
      +        "type": "boolean"
      +      },
      +      "interval": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "key": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "$ref": "#/properties/kind"
      +      },
      +      "notWritten": {
      +        "description": "The starter task whose text was never written. It does not run, even when it shows on, until its text is saved.",
      +        "type": "boolean"
      +      },
      +      "offSkills": {
      +        "description": "While skillOff is true, the skills that end the pause, as lists: turn on one skill from each list. The task then runs while the services it needs are connected.",
      +        "items": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "type": "array"
      +      },
      +      "origin": {
      +        "enum": [
      +          "agent",
      +          "user"
      +        ],
      +        "type": "string"
      +      },
      +      "ownerSkills": {
      +        "description": "The skills that bring this scheduled task.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "skillOff": {
      +        "description": "The scheduled task is paused because the skills it needs are off: it does not run, even when it shows on, until one skill from each list in offSkills is turned on with apply_agent_skills. Its own on/off state, text and schedule stay as they are.",
      +        "type": "boolean"
      +      },
      +      "value": {
      +        "type": "string"
      +      },
      +      "valueTruncated": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "kind",
      +      "description",
      +      "value",
      +      "interval",
      +      "enabled",
      +      "origin"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / restarting
      Added value: +{
      +  "description": "upsert: whether this save restarts the agent, as Wiro answers it. false also covers a text edit that reaches a running agent without a restart.",
      +  "type": "boolean"
      +}
  4. Addedv1.4.1

TDQS

A4.8/5.0
Behavior5/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 substantial behavioral context beyond them: delete removes one the agent created together with its history, protected template and approval-policy entries must be disabled instead, turning off cs-approval-policy has security consequences, and scheduled runs consume AI usage. It further discloses schedule time-zone defaults, restart behavior for running agents, and team-member read access.

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 description is long and delivered as a dense single paragraph, but it is front-loaded with the key distinction between custom skills and scheduled tasks, and nearly every sentence carries operational detail needed for a 13-parameter multi-action tool. Some parenthetical examples and cross-references add bulk, but they generally earn their place.

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?

Given the tool's complexity, 13 parameters, destructive actions, and output schema, the description is unusually complete: it covers entry types, action semantics, default scheduling, protected entries, approval-policy safety, billing implications, restart effects, permissions, and sibling alternatives. An agent has enough context to choose an action and invoke it safely without needing to infer missing behavior.

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 100%, so the baseline is 3, but the description adds cross-parameter meaning: a bare key updates existing entries of that name and otherwise gets its prefix from kind or interval, with the result giving the final key. It also clarifies that a new scheduled task without interval defaults to Mondays 10:00 and that confirm gates destructive or approval-policy-changing upserts, beyond what individual schema fields say.

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 description states a specific verb and resource (create and manage a deployed agent's own skills) and immediately distinguishes the two entry types: custom skills as standing instructions (cs-) and scheduled tasks as cron-run prompts (cs-cron-). It also names the five supported actions and distinguishes them from registry skills and Connectors.

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?

Usage guidance is explicit: use this tool for an agent's own skills and scheduled tasks, use apply_agent_skills for registry skills, connect_agent_connector for Connectors, and get_my_agent for listing current entries. It also states when confirm: true is required, when entries cannot be deleted or renamed, and what permissions team agents require.

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