Skip to main content
Glama

Tapetide - Indian Stock Market MCP

Remove Stocks from Portfolio

remove_portfolio_stocks
DestructiveIdempotent

Remove one or more stocks from the user's portfolio entirely.

Use cases: • User says "Remove INFY from my portfolio" → single delete • User says "Remove all IT stocks" → you identify the symbols from get_user_portfolio, then delete them • User says "Clear my portfolio" → remove all symbols

IMPORTANT: Always confirm with the user before removing stocks. This action cannot be undone. For partial sells (reducing quantity), use update_portfolio_stock instead.

Input Schema

NameRequiredDescriptionDefault
symbolsYesArray of stock symbols to remove (e.g. ['INFY', 'TCS'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, but the description adds critical context beyond them: the action 'cannot be undone' and 'Always confirm with the user before removing stocks.' It also clarifies that removal is 'entirely' (not partial), which helps the agent avoid a destructive mistake.

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?

The definition is front-loaded with the core action, followed by tightly scoped use cases, a safety warning, and an alternative-tool routing note. Every sentence earns its place; no redundancy or filler.

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 a destructive, single-parameter mutation tool with no output schema, the description covers purpose, invocation scenarios, safety confirmation, irreversibility, and the correct sibling alternative. Nothing an agent needs in order to call it safely and correctly 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 100%, and the single 'symbols' parameter is already documented in the schema with an example array. The description reinforces the multi-symbol nature through use cases but adds no syntax, format, or constraint details beyond what the schema provides, so the baseline of 3 applies.

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?

States a specific verb ('Remove') and resource ('stocks from the user's portfolio entirely'), making the scope unambiguous. It explicitly distinguishes itself from the sibling 'update_portfolio_stock' for partial sells and references 'get_user_portfolio' as the source for symbol lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides three concrete use cases (single delete, bulk thematic delete, clear portfolio) and an explicit exclusion: 'For partial sells (reducing quantity), use update_portfolio_stock instead.' The confirmation requirement is also stated as a workflow rule, leaving no ambiguity about when and how to invoke it.

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.