Skip to main content
Glama

Bookmarks (bookmarks.mobayilo.com)

Rename a category

update_category
Idempotent

Rename a category: set its display name and URL slug (send both). Another category with the same name or slug returns 409 conflict. Bookmarks stay in the category. Needs owner auth.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe category's numeric id.
nameYesNew display name, 1 to 100 characters.
slugYesNew URL slug, 1 to 50 characters of `a-z`, `0-9` and `-`.

Output Schema

NameRequiredDescriptionDefault
idYesDatabase id.
nameYesDisplay name, unique.
slugYesURL slug, unique, `[a-z0-9-]+`.
seededYesTrue for the categories the install starts with.
createdAtYesISO 8601 creation time, stored as text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations: it discloses the 409 conflict on duplicate name or slug, states that bookmarks remain in the category (clarifying the blast radius of a non-destructive mutation), and flags the owner-auth requirement. Annotations already cover readOnly/idempotent/destructive hints, so this is solid added context, short only of things like whether other consumers of the old slug break.

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 compact sentences, each carrying distinct information: what is set, what failure mode to expect, what is preserved, and what auth is required. Front-loaded with the action and with zero filler.

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 three-parameter mutation with an output schema, the description covers auth, conflict behavior, and side effects on bookmarks, which is enough to call it correctly. It stops short of noting anything about how the new slug interacts with existing links or whether a read-back is needed to confirm the change.

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 format, length, and pattern constraints for `id`, `name`, and `slug` are already documented. The description only reinforces that both `name` and `slug` must be sent, adding little beyond 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?

Opens with a specific verb+resource ("Rename a category") and names the exact fields being set (display `name`, URL `slug`). An agent can tell this apart from `create_category` or `delete_bookmark` from the wording alone, though no sibling is ever named 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: this is the tool to call when an existing category needs a new name or slug, and "send both" signals that both fields must be supplied. There is no explicit when-not guidance (e.g., what to do if you only want to change one field, or that creation should use `create_category`).

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.