Skip to main content
Glama

Trendyol API isteği gönder

trendyol_call_api
Destructive

Run any Trendyol API operation by operationId for a chosen store, with automatic credentials, headers, and seller ID. Preview requests with dry run before sending.

Instructions

Herhangi bir Trendyol API işlemini operationId ile, seçilen mağaza adına çalıştırır. Kimlik doğrulama, User-Agent ve sellerId mağazadan otomatik eklenir. Önce trendyol_get_operation ile parametreleri öğrenin. store: mağaza adı (trendyol_list_stores), boşsa varsayılan mağaza; "*" verilirse okuma işlemi tüm mağazalarda sırayla çalışır. Yazma işlemleri sadece yazma izni açık mağazalarda çalışır. dryRun: true ile istek gönderilmeden oluşturulan URL/gövde gösterilir.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON istek gövdesi
queryNoQuery parametreleri
storeNoMağaza adı veya satıcı ID. Boş = varsayılan mağaza. "*" = tüm mağazalar (sadece okuma)
dryRunNo
headersNoEk header'lar (örn. storefrontcode)
formDataNomultipart/form-data alanları; dosyalar için { filePath }
pathParamsNoYol parametreleri, örn. { packageId: 123 }
operationIdYes
maxResponseCharsNoYanıt bu uzunluktan sonra kırpılır (çoklu mağazada mağaza başına)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds real context beyond them: auth, User-Agent and sellerId are injected automatically from the store, "*" is read-only, and dryRun:true returns the built URL/body without sending. It does not discuss rate limits, error/partial-failure behavior across multiple stores, or retries.

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?

Information is front-loaded: the tool's purpose, then the auto-injected credentials, then the prerequisite call, then the store and dryRun semantics. It is dense but each sentence carries distinct operational value; only minor tightening is possible.

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 generic destructive dispatcher with 9 parameters and no output schema, the description covers the critical unknowns: scope of stores, read/write permission gating, auth injection, and a safe dryRun preview. Missing only multi-store failure semantics and response-shape expectations, which matter less given the parameterized, open-world nature of the 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?

Schema coverage is 78%, so most parameters (body, query, headers, formData, pathParams, maxResponseChars) are already documented structurally. The description adds meaning for store and dryRun — notably that dryRun shows the generated URL/body without sending — but leaves the remaining parameters unaddressed, so the baseline 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?

States a specific verb and resource: executes any Trendyol API operation identified by operationId, on behalf of a chosen store. It distinguishes itself from siblings by naming trendyol_get_operation (for parameter discovery) and trendyol_list_stores (for store names), so an agent can tell it apart without opening another schema.

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?

Explicitly says to call trendyol_get_operation first to learn parameters, defines the store argument's three modes (name, empty = default, "*" = all stores for reads only), and states that write operations run only on stores with write permission. Prerequisites and constraints are spelled out rather than implied.

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