Skip to main content
Glama

Update a note category

update_category
DestructiveIdempotent

Change a note category. Reserved to the owner of the space.

What is omitted does not change; required_sections replaces the whole list (empty: no requirement). Applies to notes written afterwards.

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": {
      "space": "<space>",
      "name": "<name>"
    },
    "name": "update_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName fixed at creation, what agents pass; letters, digits, - and _.
spaceYesSpace identifier, e.g. “k3x9p2m4ta”: the `id` field returned by list_spaces.
summaryNo
guidanceNo
required_sectionsNo

Output Schema

NameRequiredDescriptionDefault
nameYes
summaryYesWhat kind of note this category expects, in one line.
archivedYestrue: archived; create_note no longer accepts it.
guidanceYesWriting rules for the notes of this category.
positionYesRank in the list of categories.
required_sectionsYesMarkdown headings the content must contain. Empty list: no requirement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / guidance / anyOf
      Previous value: -[
      -  {
      -    "description": "Règles d'écriture des notes de la catégorie (Markdown).",
      -    "maxLength": 4000,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Writing rules for the category's notes (Markdown).",
      +    "maxLength": 4000,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / name / description
      Previous value: -"Nom figé à la création, ce que passent les agents ; lettres, chiffres, - et _."New value: +"Name fixed at creation, what agents pass; letters, digits, - and _."
    • changedInput schema / properties / required_sections / anyOf
      Previous value: -[
      -  {
      -    "description": "Titres Markdown que chaque note doit comporter, sans dièses.",
      -    "items": {
      -      "maxLength": 200,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "maxItems": 20,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Markdown headings every note must contain, without the # signs.",
      +    "items": {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "maxItems": 20,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / space / description
      Previous value: -"Identifiant de l'espace, ex. « k3x9p2m4ta » : le champ `id` que donne list_spaces."New value: +"Space identifier, e.g. “k3x9p2m4ta”: the `id` field returned by list_spaces."
    • changedInput schema / properties / summary / anyOf
      Previous value: -[
      -  {
      -    "description": "Ce qu'attend la catégorie, en une ligne.",
      -    "maxLength": 120,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "What the category expects, in one line.",
      +    "maxLength": 120,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / archived / description
      Previous value: -"true : archivée ; create_note ne l'accepte plus."New value: +"true: archived; create_note no longer accepts it."
    • changedOutput schema / properties / guidance / description
      Previous value: -"Règles d'écriture des notes de cette catégorie."New value: +"Writing rules for the notes of this category."
    • changedOutput schema / properties / position / description
      Previous value: -"Rang dans la liste des catégories."New value: +"Rank in the list of categories."
    • changedOutput schema / properties / required_sections / description
      Previous value: -"Titres Markdown que le contenu doit comporter. Liste vide : aucune exigence."New value: +"Markdown headings the content must contain. Empty list: no requirement."
    • changedOutput schema / properties / summary / description
      Previous value: -"Ce que cette catégorie attend comme note, en une ligne."New value: +"What kind of note this category expects, in one line."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description earns credit for adding the owner-only auth constraint, patch semantics ("What is omitted does not change"), whole-list replacement for required_sections, and the non-retroactive scope. It stops short of flagging that whole-list replacement can silently drop previously required sections, which is the main destructive risk.

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 tight sentences, and the alternative-selection constraint is front-loaded right after the purpose. The parenthetical "(empty: no requirement)" and the line breaks are slightly awkward but do not cost clarity.

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 mutating tool with annotations and an output schema, the description covers purpose, authorization, merge-vs-replace behavior, and scope of effect. The one gap an agent would still want is confirmation of what happens to notes already written under the previous required sections.

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?

With 40% schema coverage across five parameters, the description compensates by explaining the two behaviors an agent cannot infer from the schema: omitted fields are left untouched, and required_sections is a full replacement where an empty list clears the requirement. It adds nothing about summary or guidance, but their schema descriptions are adequate.

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 definition opens with a specific verb+resource pair, "Change a note category," which is unambiguous and matches the title. It does not name a sibling such as create_category or archive_category to draw a boundary, so it stays short of a 5.

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?

"Reserved to the owner of the space" gives one useful precondition for calling it, and "Applies to notes written afterwards" tells the agent the effect is prospective. There is no explicit when-to-use versus create_category/archive_category guidance and no statement about what happens when a non-owner calls it.

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