Skip to main content
Glama

create_portfolio

Create a new investment portfolio for the user. Use when the user wants to track a new brokerage account, retirement fund, or savings vehicle. Returns the created portfolio with its id, which can then be used with create_investment_transaction and get_portfolio_holdings.

Input Schema

NameRequiredDescriptionDefault
nameYesPortfolio name (must be unique for this user)
isEnabledNoWhether the portfolio is active (default: true)
descriptionNoOptional description of the portfolio
portfolioTypeYesType of portfolio: investment, retirement, savings, or other

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It helpfully discloses the return ('Returns the created portfolio with its id') and downstream linkage, which is valuable since there is no output schema. However, it omits permission requirements, the duplicate-name failure behavior (only hinted at in the schema), and any reversibility/side-effect notes for this mutation.

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?

Three tight sentences, front-loaded with the action, followed by usage context and the return/follow-up. Every sentence earns its place with no filler.

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 simple create operation with a fully documented schema and no output schema, the description supplies the missing return-value and follow-up context. It is nearly complete, losing only minor points for not covering failure modes or prerequisites of a mutation tool with no annotations.

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%, so the schema already documents all four parameters including the enum values and the uniqueness constraint on name. The description adds no syntax or format detail beyond that, so the baseline 3 applies.

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?

Specific verb + resource ('Create a new investment portfolio') with clear scope ('for the user'). It distinguishes itself from the many other create_* siblings by naming the noun and the domain, though it does not explicitly contrast with near-neighbors like create_portfolio_cash_transaction or create_budget.

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 concrete when-to-use context ('track a new brokerage account, retirement fund, or savings vehicle'), which maps cleanly onto the portfolioType enum. It stops short of naming when NOT to use it or naming an explicit alternative create tool, so it is clear context without exclusions.

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.