Skip to main content
Glama
This connector has been deprecated

Replaced by MyScanity.

double entry

get_portfolio

Read-onlyIdempotent

Return the user's portfolio: pending, open, and closed positions with risk figures, compared with today's setups.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered. The description's added value is scoping to the authenticated user's data and the breadth of position states returned, but that content largely restates what the output schema already exposes. No disclosure of ordering, volume, or freshness.

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?

A single front-loaded sentence with no waste; the resource and its contents come first. The trailing clause "compared with today's setups" is slightly vague about what is being compared, but it earns its place as the one differentiating detail.

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?

With zero params, an output schema, and full annotation coverage, the bar for the description is modest, and it adequately tells the agent what comes back. The only soft spot is the undefined "today's setups" comparison, which leaves an agent guessing whether a trading-day boundary or a related tool's output is involved.

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?

The tool takes zero parameters, so the baseline is 4. The description correctly implies no filtering arguments are needed — the portfolio is determined by the caller's identity — and adds nothing that would mislead about inputs.

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 ("Return the user's portfolio") and enumerates the contents: pending, open, and closed positions plus risk figures. An agent can distinguish this from get_watchlist or list_setups on the resource alone, though it never explicitly contrasts itself with those siblings.

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

Usage Guidelines3/5

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

Usage is only implied — an agent should call it when the user asks about their own positions or portfolio risk. There is no explicit when-to-use or when-not guidance, and no statement of the relationship to list_setups beyond the passing phrase "compared with today's setups."

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