Skip to main content
Glama
Vedhasagaran

DhanHQ MCP Server

by Vedhasagaran

get_all_orders

Fetch all orders from your DhanHQ account, including order ID, status, quantity, and price, to track and manage your trading activity.

Instructions

Fetch all orders from DhanHQ account. Returns a list of all orders with their details including order ID, status, quantity, price, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does disclose the return type (a list of orders with fields like ID, status, quantity, price), which is useful. However, it does not explicitly state read-only behavior, authentication needs, or potential limits such as pagination, so it is only partially transparent.

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 description is concise, with two sentences that front-load the primary action and follow with a useful detail about the return content. There is no unnecessary repetition or 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?

Given the simplicity (zero parameters) and the presence of an output schema (which covers return structure), the description adequately conveys the core function. It could mention that it returns all orders without filtering, or note potential pagination, but for this tool it is reasonably complete.

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 input schema has zero parameters, so the baseline of 4 applies. The description correctly has no parameter information to add, and the schema is already 100% covered by virtue of having no required or optional parameters.

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?

The description uses a specific verb ('Fetch') and a specific resource ('all orders from DhanHQ account'), clearly stating the tool's scope. It distinguishes itself from siblings like get_trade_history (focused on trade history) and get_holdings_summary (holdings summary), making the purpose unambiguous.

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 provides no guidance on when to use this tool versus alternatives such as get_trade_history or get_holdings_summary. There are no exclusions, prerequisites, or conditions mentioned, leaving the agent to infer usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vedhasagaran/dhan-mcp-py'

If you have feedback or need assistance with the MCP directory API, please join our Discord server