Skip to main content
Glama
dwin-gharibi

ramzinex-mcp

by dwin-gharibi

ramzinex_get_market_buy_price

Estimate the price to buy a cryptocurrency for a given quote amount. Uses the order book to calculate the cost.

Instructions

Estimate the price to BUY for a given quote amount.

Persian purpose: برآورد قیمت خرید برای مبلغ مشخص (ارز مظنه). Public, no auth. Maps to GET /exchange/api/{ver}/exchange/orderbooks/{pair_id}/market_buy_price with the amount2 (quote-currency) query parameter.

Args: pair_id: Numeric id of the pair. amount2: Amount in the quote currency (e.g. IRR/Toman) to spend buying. Must be greater than zero. instance: Configured instance whose public base URL to use (default when omitted).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pair_idYes
amount2Yes
instanceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description must disclose behavior. It states it's public, no auth, and maps to a GET endpoint, implying read-only. However, it lacks details on rate limits, error handling, or any side effects. Given the absence of annotations, a score of 3 is adequate as basic behavior is covered.

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?

The description is well-structured with a clear purpose statement, Persian translation, API mapping, and an Args section. It front-loads the main purpose. While slightly verbose due to the API endpoint details, it remains focused and earns its length.

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 that an output schema is present, return values are covered elsewhere. The description covers purpose, parameters, and public access. It lacks error conditions or prerequisites, but for a simple price estimation tool, it is sufficiently 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?

Schema description coverage is 0%, but the description provides detailed explanations for each parameter: 'pair_id' is numeric id, 'amount2' is amount in quote currency (e.g., IRR/Toman) and must be >0, 'instance' is a configured instance. This adds significant meaning beyond the schema's types and titles.

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 clearly states it estimates the price to BUY for a given quote amount, specifying the verb 'estimate', resource 'market buy price', and the query parameter. It distinguishes from its sibling 'ramzinex_get_market_sell_price' which does the opposite, so the tool's purpose is well-defined and differentiated.

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 mentions 'Public, no auth' and maps to a GET endpoint, indicating it's a read operation open to all. It implies use when you need a buy price estimate, but does not explicitly state when not to use it or alternatives. The sibling existence provides context, but explicit guidance is lacking.

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/dwin-gharibi/ramzinex-mcp'

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