Skip to main content
Glama

Manawa Terminal

Update library item (versioned)

update_library_item

Update a library document's title and/or content (content edits create a new version).

Content is markdown, or raw HTML when the document is already text/html.
The document type does not change.

Args:
    item_id: The item UUID
    title: New title (optional)
    content: New markdown or HTML source (optional)

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": {
      "item_id": "<item_id>"
    },
    "name": "update_library_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
contentNo
item_idYes
strategy_idNoStrategy this call belongs to. UUID from list_strategies. The card this call writes keeps that id. Omit when the call is not part of a strategy.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / strategy_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Strategy this call belongs to. UUID from list_strategies. The card this call writes keeps that id. Omit when the call is not part of a strategy.",
      +  "title": "Strategy Id"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=false. The description adds real behavioral context: content edits create a new version, content must be markdown unless the document is already text/html, and the document type is immutable. It omits what happens on an unknown item_id or a type mismatch, so not a 5.

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?

Front-loaded with the action and its most consequential side effect (versioning), then constraints, then a compact Args list. The Args block partially duplicates the schema property names, but with low schema coverage that repetition earns its place.

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?

An output schema exists, so return values need no explanation, and the description covers the mutation's key side effect and content-format rules. Gaps remain around failure modes and whether an empty string clears a field, but nothing critical to making a correct call is missing.

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 only 25% (strategy_id is the sole documented parameter), so the description must compensate. Its Args block covers item_id, title, and content and adds format semantics for content, which is genuinely useful, but item_id is described only as 'The item UUID' with no hint about where to obtain it, and strategy_id is left entirely to 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?

States a specific verb and resource (update a library document's title and/or content) and names the editable fields. The versioning note ('content edits create a new version') distinguishes it behaviorally from a plain rename, though it never names the sibling to use for creation or renaming.

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: this edits an existing item, so create_library_item / delete_library_item are the obvious counterparts, and 'optional' on both fields signals partial updates. But there is no explicit when-to-use/when-not statement, no prerequisite that the item must already exist, and no mention of list_library_item_versions for inspecting history.

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