Skip to main content
Glama

Update a collection

update-collection
Idempotent

Changes the title, description or visibility of one of your collections. Fields you leave out stay as they are. A collection with custom plugins cannot be public.

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": {
      "collection": "<collection>"
    },
    "name": "update-collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoThe new title.
publicNoTrue lists the collection on the public collections page. False makes it private.
collectionYesThe UUID of the collection.
descriptionNoThe new description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety and repeatability profile is covered structurally. The description contributes the non-obvious merge semantics and the custom-plugin/public conflict rule, which are real value-adds, but says nothing about error behavior, permissions, or whether clearing a field is possible. With annotations carrying much of the burden, 3 is appropriate.

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?

Three short sentences with the object of the change front-loaded, then the update semantics, then the constraint. Nothing is redundant with the title or schema, and every sentence carries information an agent needs.

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 four-parameter partial-update tool with a full annotation set and no output schema, the description covers what changes are possible, how omissions are treated, and a key failure constraint. What remains unstated (permission requirements, failure responses, whether visibility can be reverted for an already-public collection) is minor given the structural coverage.

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 all four parameters are self-documented and the baseline would be 3. The description goes beyond the schema by explaining omission behavior (unsupplied fields are preserved), which the schema does not state, and by tying the public flag to a business constraint. It does not clarify formats such as UUID handling, which is why it is not a 5.

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?

Names a specific verb and resource ("Changes the title, description or visibility of one of your collections") and enumerates the mutable fields, so an agent knows exactly which attributes this tool touches. It stops short of naming a sibling like update-site or create-collection to disambiguate, which is why it lands at 4 rather than 5.

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

Usage Guidelines4/5

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

"Fields you leave out stay as they are" establishes this as a partial/patch update rather than a full replace, and "A collection with custom plugins cannot be public" states a precondition that would otherwise cause a silent failure. Neither an explicit when-to-use alternative nor a when-not-to-use rule (e.g. use add-plugins-to-collection for membership) is given, so it falls short of 5.

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