Skip to main content
Glama

Update agent skill

update_agent_skill
Destructive

Create or update a skill (process/procedure) for an agent. Use when a user says "@Marcus here's how I want you to do the cash forecast" or "change how the CFO does the monthly review" or "here's my process for X". Skills teach agents HOW to perform their activities.

[sensitive-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsYesOrdered steps of the process (e.g., ["Pull balances", "Calculate 13-week average", "Flag if runway < 3 months"])
agent_idNoUUID of the agent to teach. Optional if agent_name is provided.
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
resourcesNoURLs, doc names, templates, or other resources (e.g., ["company P&L template"])
agent_nameNoName of the agent (e.g., "Marcus"). Used to look up agent_id if not provided — prefer this when the user @mentions an agent by name.
skill_nameYesShort name for the skill (e.g., "13-Week Cash Forecast")
tools_usedNoTool names referenced in the process (e.g., ["get_cash_position", "create_google_sheet"])
activity_nameNoActivity this skill backs (e.g., "Weekly Cash Review"). If provided, the skill will be linked to this activity via skill_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / agent_name / description
      Previous value: -"Name of the agent (e.g., \"Marcus\"). Used to look up agent_id if not provided."New value: +"Name of the agent (e.g., \"Marcus\"). Used to look up agent_id if not provided — prefer this when the user @mentions an agent by name."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations include destructiveHint: true and readOnlyHint: false, but the description does more by explaining the approval flow (sensitive-tier, manager approval, from-now-on vs just-once). However, it doesn't describe what happens on conflict or overwriting, and the destructive nature isn't explicitly elaborated. The description adds value but gaps remain.

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 concise, with the main purpose front-loaded in the first sentence, followed by examples and approval guidance. It is structurally clear, though the sensitive-tier note could be shorter. Overall, it's efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (8 parameters, 3 required) and no output schema, the description covers usage and approval but doesn't explain the return value or confirm success. It lacks details on the skill's hierarchy or linking behavior. It's adequate but not complete for an agent to fully anticipate outcomes.

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%, so all 8 parameters are described. The description adds context for some parameters (e.g., agent_name preference) but largely relies on the schema. It doesn't add syntax or format details beyond schema, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool creates or updates a skill (process/procedure) for an agent, with specific verb and resource. It includes concrete examples of user intents. However, it is not explicitly differentiated from siblings like update_playbook or add_agent_activity, though the focus on 'skills' is distinct.

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?

Provides explicit when-to-use cues with user phrasing examples and states it should be called on the first clear ask. It implicitly excludes alternative tools by focusing on skills, though doesn't name siblings. The guidance is strong enough for an agent to decide when to invoke.

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.

Resources