Skip to main content
Glama

Tapetide - Indian Stock Market MCP

Create or Rename Portfolio

save_portfolio

Create a portfolio called name, or rename the portfolio given to name. make_default makes it the default. A new portfolio is empty; add holdings with add_portfolio_stocks. Creates a new list only when the user asks for a new one. If the user names a list that does not match exactly, use the existing list they clearly mean, or ask; never create a list because a name was not found.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe portfolio's new name (1-60 characters).
portfolioNoRename only: the portfolio's name or id, from get_user_portfolio. Omit to create.
make_defaultNoMake this portfolio the default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the description's added value is the state semantics: a new portfolio starts empty and holdings must be added separately. It does not cover rename edge cases such as name collisions or what happens to existing holdings, which keeps it below a 5.

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?

Front-loads the two operating modes, then layers the default flag, the empty-state note, and the creation policy. Every sentence carries information, though the final policy sentence is long and could be split for faster scanning.

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 tool with no output schema, the description covers both modes, the default flag, the post-create state, and the next tool to call. It leaves the return value and rename-conflict behavior unstated, which is a minor gap given the annotations already signal a non-destructive write.

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 coverage is 100%, so all three parameters are already documented, including 'Omit to create' for `portfolio` and the 1-60 character bound on `name`. The description restates the create-vs-rename role of `portfolio` and the effect of `make_default` but adds no format or syntax detail beyond the schema, so the baseline 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 and resource for both modes: 'Create a portfolio called `name`, or rename the `portfolio` given to `name`.' An agent can immediately tell this is the create/rename entry point, distinct from add_portfolio_stocks or delete_portfolio.

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?

Gives explicit when-to-use and when-not-to-use rules: create only when the user asks for a new list, reuse the existing list on inexact name matches, ask when ambiguous, and never create merely because a name was not found. It also routes follow-up work to add_portfolio_stocks.

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.