Skip to main content
Glama

İade Kalemlerini Onayla (approveClaimLineItems)

trendyol_approve_claim_items

Approve returned items that have reached your warehouse, initiating customer refund. Only items in WaitingInAction status are eligible; provide claimId and claimLineItemIdList from getClaims.

Instructions

☢️ DİKKAT: İade onayı geri alınamaz ve müşteriye para iadesi sürecini başlatır. Deponuza ulaşan iade kalemlerini onaylar. Yalnızca WaitingInAction durumundaki iadeler onaylanabilir. claimId ve claimLineItemIdList değerlerini trendyol_get_claims yanıtından alın (claimLineItemIdList = items[].claimItems[].id). Onaylanan iade, kurallara göre fraud kontrolüne tabi olursa Accepted yerine önce WaitingFraudCheck durumunda görünür.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNoEk parametreler
claimIdYesİade (claim) ID — trendyol_get_claims yanıtındaki claimId
claimLineItemIdListYesOnaylanacak iade kalemi ID listesi (getClaims: items[].claimItems[].id)
Behavior5/5

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

With no annotations provided, the description fully discloses behavioral traits: approval is irreversible and starts the refund process. It also notes potential status change to WaitingFraudCheck if fraud control applies. The warning symbol (☢️) emphasizes the destructive nature.

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 a single paragraph of five sentences, front-loaded with the critical warning. Every sentence adds necessary information without redundancy or fluff.

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?

The description covers prerequisites, status constraints, and irreversible side effects. However, it lacks any indication of the response format or return values, which would be helpful since there is no output schema. The mention of possible WaitingFraudCheck status partially compensates.

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 coverage is 100%, but the description adds value by instructing where to get claimId and claimLineItemIdList from trendyol_get_claims response and how the list maps from items[].claimItems[].id. However, the optional 'params' field is only described as 'Ek parametreler' without further explanation, leaving some ambiguity.

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 the tool approves refund items that have reached the warehouse, using the verb 'onaylar' (approves). It specifies the resource (iade kalemleri) and distinguishes from siblings like trendyol_create_claim and trendyol_get_claims by focusing on approval of existing claims in WaitingInAction status.

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 provides explicit conditions: only claims in WaitingInAction status can be approved. It instructs users to obtain claimId and claimLineItemIdList from trendyol_get_claims response and explains the mapping. It also warns that approval is irreversible and initiates refund, giving clear when-to-use guidance.

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/bevren/trendyol-market-mcp'

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