Skip to main content
Glama

Add a tool to my stack

add_to_my_stack

Adds a catalog tool to the stack of the signed-in person's product, with an optional note and monthly cost. A launch needs at least 3 tools. 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": "add_to_my_stack"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWhat it's used for, at most 280 characters
toolYesThe tool's slug (search_tools finds it)
listingYesThe listing's slug or id
categoryNoCategory; the tool's own when left out
monthlyCostUsdNoMonthly 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/5.0
Behavior4/5

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

Annotations already establish non-read-only, non-destructive, non-idempotent, closed-world behavior; the description adds genuinely non-redundant facts — the required write scope and the requirement to show the user the exact change and await confirmation. It stops short of explaining failure modes (e.g., adding a tool already in the stack).

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 short sentences, front-loaded with purpose and followed by prerequisites, with no filler. The 'optional note and monthly cost' clause is mildly redundant with the fully documented schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For this complexity level the definition is complete: an output schema exists, annotations cover the safety profile, all five parameters are documented, and the description supplies the auth scope, business rule, and confirmation protocol an agent needs before calling.

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% and every parameter is documented in-schema, so the baseline applies. The description only echoes the optional note and monthly cost, adding no format or selection guidance beyond the schema (e.g., how the listing slug relates to the tool slug).

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 ('Adds a catalog tool to the stack') plus the owning scope ('signed-in person's product'), which is more precise than the title alone. It does not explicitly contrast with siblings such as update_my_stack_item or remove_from_my_stack, though the add/update/remove distinction is inferable from names.

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?

Provides real usage context: the 'launch needs at least 3 tools' business rule and a mandatory pre-call confirmation flow with the user. No explicit when-not-to-use or named alternative, so it falls short of 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