Skip to main content
Glama
emercoin

Emercoin swap

Official

Get EMC order status

get_order_status
Read-onlyIdempotent

Check the current status of a buy_emc order using its token. Tracks progress from awaiting_payment to notified, including amounts and delivery transaction ID.

Instructions

Return the current status of a buy_emc order by its token: the status, the exact amount, the EMC amount and destination address, and the emc_txid once delivered. Use this to poll after buy_emc — status progresses awaiting_payment → confirmed → emc_delivered → notified (done). Read-only; to cancel an unpaid order use cancel_order instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesopaque order handle returned by buy_emc; pass it back unchanged

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYeshuman-quotable order number (DB id)
statusYes
amount_usdtYes
emc_amountYes
destination_emc_addressYes
deposit_addressYes
emc_txidNo
expires_atYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description reinforces 'Read-only' and adds the order status lifecycle, which provides useful behavioral context beyond the annotations.

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 two sentences, concise and front-loaded with key purpose and usage. No wasted words.

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

Completeness5/5

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

Given the tool simplicity (1 param, output schema present), the description covers purpose, usage, status progression, and alternative tool. It is fully adequate.

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?

With 100% schema coverage, the description adds minimal new info about the 'token' parameter beyond what the schema already provides. The baseline of 3 is appropriate.

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 returns the current status of a buy_emc order by token, and lists the fields returned (status, amounts, address, emc_txid). It distinguishes itself from siblings like buy_emc and cancel_order.

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

Usage Guidelines5/5

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

The description explicitly says 'Use this to poll after buy_emc' and outlines the status progression. It also says 'Read-only; to cancel an unpaid order use cancel_order instead,' providing clear when-to-use and when-not-to-use with an alternative.

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/emercoin/swap'

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