Skip to main content
Glama

get_holdings

Retrieve long-term DEMAT holdings from Upstox to review portfolio positions and support rebalancing decisions.

Instructions

Retrieve long-term DEMAT holdings.

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_holdings"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. "Retrieve" implies a read-only operation, but nothing is said about auth requirements, rate limits, whether "long-term" is a fixed threshold or a holding period, or how missing/empty portfolios behave.

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 short sentence with the key noun phrase front-loaded and zero filler. It is efficient, though its brevity edges toward under-specification rather than being purely concise.

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

Completeness3/5

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

For a zero-argument read tool with no output schema, the definition is minimally sufficient to call it, but it leaves open what "long-term" qualifies and what the returned holdings look like. With no annotations or output schema to lean on, a sentence on those points would materially help.

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 there is no per-parameter meaning to add; baseline for a parameterless tool is 4. The description adds nothing because there is nothing to document on the input side.

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?

"Retrieve long-term DEMAT holdings" gives a specific verb and resource, and the DEMAT qualifier implicitly separates it from equity-vs-mutual-fund reads such as get_mf_holdings. It stops short of naming a sibling or defining what "long-term" means, so the differentiation is suggested rather than stated.

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

Usage Guidelines2/5

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

The description contains no when-to-use framing, no exclusions, and no reference to any alternative tool. An agent must guess whether this covers mutual fund units (get_mf_holdings) or only demat equity, and there is no guidance on prerequisites such as authentication.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.