Skip to main content
Glama

update_library_item

DestructiveIdempotent

Use this only when the user asks to change a Prompt or Skill they already saved (its name, description or text), and only after they have confirmed what should change. Do not use it to save something new; use save_prompt or save_skill for that.

Input Schema

NameRequiredDescriptionDefault
nameNoNew name, max 40 characters — trimmed automatically if longer.
slugYesThe slug of the item to update
brandNoWhich of the user's brands this is for, by name. Leave it out to use this connection's default brand. Set it when the conversation is about a different brand of theirs. If you can't tell which brand is meant, ask the user first.
contentNoNew prompt text or procedure
categoryNoNew category. One of: general, video, writing, code, design, research, marketing, other. An unrecognized value falls back to general rather than failing.
descriptionNoNew description, max 120 characters — trimmed automatically if longer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds a genuinely non-schema prerequisite — the user must have confirmed the change — which is the kind of behavioral context annotations cannot express. It stops short of saying that supplied fields overwrite existing values and that omitted fields are left untouched, which for a destructive update would be useful.

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

Conciseness5/5

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

Two sentences, the exclusion and alternative both front-loaded relative to any ambiguity. Every clause carries actionable information; nothing is padding.

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

Completeness4/5

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

For a mutation tool with rich annotations and a fully documented schema, the remaining gap is small. The description covers identity, prerequisites, and alternatives; it omits only overwrite semantics and multi-brand targeting, the latter of which the brand parameter already documents.

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%, with each of the six parameters explaining defaults, limits, and enum-like category values (including fallback behavior). The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('change a Prompt or Skill they already saved') and enumerates the mutable fields (name, description, text). It is immediately distinguishable from save_prompt and save_skill, which it names explicitly.

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?

Gives both the when ('user asks to change something already saved', 'after they have confirmed') and the when-not ('Do not use it to save something new'), and routes to the correct alternatives by name. No inference required.

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