Skip to main content
Glama

update_collection_description

DestructiveIdempotent

Replaces a collection's description with new plain text or HTML. Read the current description first and confirm the full replacement with the user before updating.

Instructions

Replace a collection's description (the 'Collection description' text, e.g. your process write-up). This OVERWRITES the current text, so read it first with get_collection and confirm the full new text with the user. Not live-tested yet.

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_id": "<collection_id>",
      "description": "<description>"
    },
    "name": "update_collection_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
descriptionYesNew description (plain text or HTML)
collection_idYesNumeric Portflow id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the description earns credit for adding specifics beyond that: the OVERWRITE is total replacement of the existing text, and a user confirmation step is expected. It also discloses 'Not live-tested yet', a caveat no annotation carries, though it says nothing about permissions or the response.

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 sentences, front-loaded with the action and the overwrite warning, with no wasted wording. The trailing 'Not live-tested yet' is valuable but reads as an afterthought rather than being integrated into the guidance.

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 two-parameter mutation tool with no output schema, the description covers the action, the destructive semantics, the prerequisite read, and the user-confirmation step. Only the return/response behavior and permission requirements are left implicit, which is minor here.

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 both parameters are already documented, and the baseline applies. The description does add the meaningful nuance that the supplied text fully replaces rather than merges ('confirm the full new text'), but gives no format or length guidance beyond the schema's 'plain text or HTML'.

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 ('Replace a collection's description') and even disambiguates which field is meant ('the Collection description text, e.g. your process write-up'). An agent can distinguish this from the sibling get_collection, which is named as the read counterpart.

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?

Gives an explicit prerequisite workflow: read the current text with get_collection first and confirm the full new text with the user before writing. It does not explicitly contrast with update_evidence_description, but the collection-vs-evidence scope is unambiguous from the name and description.

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