Skip to main content
Glama

Edit a stack tool

update_my_stack_item
DestructiveIdempotent

Changes the category, note or monthly cost of a tool already in the signed-in person's stack; fields left out stay. Needs the write scope. Before calling, show the user exactly what will change and wait for them to confirm.

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": {
      "listing": "<listing>",
      "tool": "<tool>"
    },
    "name": "update_my_stack_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoNew note, at most 280 characters
toolYesThe tool's slug or name
listingYesThe listing's slug or id
categoryNoNew category
monthlyCostUsdNoNew monthly cost in whole US dollars

Output Schema

NameRequiredDescriptionDefault
itemsYes
toolsYes
editUrlYes
productYes
canLaunchYes
monthlyTotalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: partial-update semantics, an authorization requirement, and a mandatory confirmation workflow — none of which are recoverable from destructiveHint/idempotentHint alone. The one gap is that it never explains how an explicit null differs from an omitted field, which matters because destructiveHint is true and several fields accept null.

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 tight sentences, front-loaded with the mutation scope and followed by the prerequisites. No filler, no restatement of the title, and the confirmation requirement is stated last where the agent will act on it.

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 and full annotation set carry the return-shape and safety burdens, so the description only needs to cover intent, auth, and the confirmation gate — all present. It is slightly incomplete only on the null-clearing semantics for a destructive-flagged partial update.

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 description coverage is already 100%, so the baseline is 3; the description earns above that by stating 'fields left out stay,' which encodes the patch-vs-replace contract that the schema itself does not express. It does not resolve the null-vs-omitted ambiguity for note, category, or monthlyCostUsd.

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?

Names a specific verb and resource (changes a tool already in the signed-in person's stack) and enumerates the exact mutable fields: category, note, monthly cost. The scope modifier 'already in the stack' distinguishes it from add_to_my_stack and remove_from_my_stack without needing to name them.

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 a concrete precondition ('Needs the write scope') and an explicit operational gate ('show the user exactly what will change and wait for them to confirm'), plus the partial-update rule 'fields left out stay'. It stops short of naming an alternative tool or stating when-not to use it, so it falls below a 5.

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