Skip to main content
Glama

buy_asset

Destructive

Place a buy order for BIST or US stocks. Supports market and limit orders up to ₺5000; off-hours orders queue for the next session.

Instructions

Place a BUY order. Orders whose estimated value exceeds ₺5000 are refused. Omit limit_price for a market order. Note that orders placed outside market hours queue for the next session (BIST trades 10:00-18:00 Turkey time).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesTicker to buy, e.g. TUCLK
quantityYesNumber of shares
limit_priceNoLimit price; omit for a market order. Must sit inside the daily price band.
Behavior5/5

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

Annotations already flag this as a destructive write operation, but the description adds crucial non-obvious behaviors: the ₺5000 order value refusal threshold, the queueing of off-hours orders for the next session, and the market vs. limit order distinction. This goes beyond what annotations convey.

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 sentences deliver the core purpose and constraints with no filler. The structure front-loads the action and follows with conditional behaviors.

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 no output schema, the description does not mention what the tool returns after order placement, and it omits details like rejection handling or sufficient-funds requirements. However, it covers the main operational constraints (value cap, market hours, market/limit behavior) and the schema handles parameter definitions, making it adequate for a moderately simple tool.

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?

The input schema already provides full descriptions for all three parameters, including the note that limit_price is optional for market orders. The description restates the market-order instruction but adds no new parameter-specific semantics beyond the schema; the ₺5000 limit is a global constraint, not parameter-specific.

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?

Description opens with 'Place a BUY order', immediately specifying the action and resource. It clearly distinguishes from siblings like sell_asset and read-only getters. The additional instructions about limit price and market hours reinforce the tool's specific purpose.

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?

The description provides clear operational context: the ₺5000 value cap, market-order instructions, and BIST trading hours. However, it does not explicitly compare with sell_asset or other order-management tools, so there are no exclusions or alternative guidance beyond the implied buy intent.

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/ahmetdenizyilmaz/midas-mcp'

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