Skip to main content
Glama

Sipariş ödeme işlemi

get_order_transaction
Read-onlyIdempotent

Retrieves an order's payment and financial transaction record, including commission and net amount, so you can verify fees and payout details.

Instructions

Bir siparişin ödeme/finans işlem kaydını getirir (komisyon, net tutar vb.).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "orderId": "<orderId>"
    },
    "name": "get_order_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered structurally. The description contributes the content scope (commission, net amount), but says nothing about what happens when an order has no transaction record, nor about return shape or freshness.

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 front-loaded sentence with no filler; the parenthetical examples are useful rather than wasteful. It is arguably slightly too terse given the absence of an output schema.

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?

For a one-parameter read-only lookup with annotations covering safety, the description plus the named example fields are close to sufficient. The main gap is that, with no output schema, the agent still learns only two of the returned fields and nothing about units, currency, or empty-result behavior.

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?

Schema description coverage is 0%, so the description must carry the meaning of orderId. It does so only indirectly via "Bir siparişin" (of an order), which makes clear the parameter identifies which order's transaction is fetched, but gives no format, source, or validation detail beyond the schema's minLength constraint.

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?

The description names a specific verb ("getirir" = retrieves) and a specific resource ("Bir siparişin ödeme/finans işlem kaydı" = an order's payment/finance transaction record), and clarifies the payload with examples ("komisyon, net tutar"). The scoping to a single order implicitly separates it from list_* transaction siblings such as list_payout_transactions, though no sibling is named.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it should call this to obtain the financial details of one specific order rather than general order data. There is no explicit when-to-use vs. get_order or list_payout_transactions, and no stated preconditions.

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