Skip to main content
Glama

update_collection

DestructiveIdempotent

Change the name, icon, color, description, budget or sharing of a collection; omitted fields stay as they are. is_public=true returns the public URL. Example: id, is_public=true.

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": {
      "id": "<id>"
    },
    "name": "update_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCollection ID
iconNoMaterial Symbols icon name
nameNoName
colorNoHex color
budgetNoBudget
reasonNoWhy, for the change history
is_publicNotrue shares (public URL), false unshares
descriptionNoDescription
budget_currencyNoBudget currency

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / properties / budget / description
      Previous value: -"New budget amount"New value: +"Budget"
    • changedInput schema / properties / budget_currency / description
      Previous value: -"New budget currency"New value: +"Budget currency"
    • changedInput schema / properties / color / description
      Previous value: -"Hex color (e.g. \"#3B82F6\", \"#22C55E\", \"#EF4444\")"New value: +"Hex color"
    • changedInput schema / properties / description / description
      Previous value: -"New description"New value: +"Description"
    • changedInput schema / properties / icon / description
      Previous value: -"Material Symbols icon name (e.g. \"devices\", \"home\", \"shopping_bag\")"New value: +"Material Symbols icon name"
    • changedInput schema / properties / id / description
      Previous value: -"The collection ID to update"New value: +"Collection ID"
    • changedInput schema / properties / is_public / description
      Previous value: -"Set true to share (generates public URL), false to unshare"New value: +"true shares (public URL), false unshares"
    • changedInput schema / properties / name / description
      Previous value: -"New collection name"New value: +"Name"
    • changedInput schema / properties / reason / description
      Previous value: -"Why this change was made (shown to user in change history)"New value: +"Why, for the change history"
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety bar is lower. The description still adds real behavioral information beyond them: partial-update semantics ('omitted fields stay as they are') and the fact that is_public=true returns the public URL. It does not explain the consequence of destructiveHint=true (e.g. that unsharing invalidates shared links) or the audit-trail behavior of the 'reason' field.

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?

Three short clauses, front-loaded with the field list and the key partial-update rule. The trailing 'Example: id, is_public=true' is terse to the point of being cryptic but costs little space and illustrates the minimal call shape.

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?

For a nine-parameter mutation with no output schema, the description covers the core update contract and the one documented return value, which is adequate. It leaves gaps around the audit 'reason' field, currency coupling, and the practical consequences of unsharing, which matter for a destructive operation.

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%, so the schema already documents all nine parameters, and the baseline of 3 applies. The description adds a little meaning for is_public (share vs unshare, public URL on return) but says nothing about 'reason' (change history) or the budget/budget_currency pairing, so it does not meaningfully exceed the schema.

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 states a specific verb ('Change') and resource ('collection') and enumerates the mutable fields (name, icon, color, description, budget, sharing). It implicitly separates itself from create_collection/delete_collection by noting that 'omitted fields stay as they are', though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied — modify an existing collection by id — and the PATCH-style semantics tell the agent it need only send changed fields. However, there is no statement of when to prefer this over create_collection, no prerequisites, and no exclusions or warnings about unsharing an already-private collection.

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