Skip to main content
Glama

joiva_update_collection

DestructiveIdempotent

Extends or edits a collection link by its shareId: appends dishes (add / addNames), removes dishes, renames it, or sets a new validity from now. The URL stays the same and shows the new state at once; someone who already copied the collection only gets the new dishes on the next tap.

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": {
      "shareId": "<shareId>"
    },
    "name": "joiva_update_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNoDish ids to append
titleNo
removeNo
shareIdYesId of the collection link
addNamesNoAlternatively dish names to append
ttlHoursNoNew validity in hours from now (up to 8760)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, yet the description still adds real value: the URL is stable, the new state is visible immediately, and prior recipients only see added dishes on their next tap. It stops short of spelling out the blast radius of `remove` on existing recipients or any ownership/auth requirement.

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?

Two sentences, both front-loaded: the operation list comes first and the propagation caveat second. Every clause carries information; nothing restates the name or title.

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 six-parameter mutation tool with no output schema, the description covers the operation set and the visible effects well. It leaves out per-call limits (40 items) and failure modes for an unknown or expired shareId, which keeps it from being fully complete.

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 67%, with `title` and `remove` having no description in the schema; the prose covers both ("renames it", "removes dishes") and also names the add/addNames/ttlHours paths. It does not clarify the add-vs-addNames exclusivity or the 40-item cap, so it improves on the schema without fully closing the gap.

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?

The description opens with a specific verb and resource ("Extends or edits a collection link by its shareId") and then enumerates the exact operations: append dishes, remove dishes, rename, or reset validity. This is enough to tell it apart from the collection-creation sibling without opening either schema.

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 by "extends or edits" an existing link, which suggests it is not for creating a new one, but no sibling is named and there are no explicit when-not conditions or preconditions such as link ownership or expiry. An agent must infer that joiva_share_collection is the creation path.

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