Skip to main content
Glama

Müşteri Fatura Bağlantısı Gönder (sendInvoiceLink)

trendyol_send_invoice_link

Send an e-invoice link for a shipment package to Trendyol, enabling the platform to email the invoice to the customer when direct PDF attachment is not possible.

Instructions

Siparişin e-arşiv fatura bağlantısını Trendyol’a iletir; Trendyol bu bağlantıyı içeren e-Fatura e-postasını müşteriye gönderir. Siparişteki şifreli e-posta adresine PDF ekleyerek fatura gönderemiyorsanız bu servisi kullanın (şifreli adresler müşteri bazında sabit değildir, her sipariş için ayrı üretilir). ☢️ YASAL YÜKÜMLÜLÜK: bu servisle iletilen fatura bağlantısı 8 yıl boyunca erişilebilir kalmalıdır. invoiceNumber ve invoiceDateTime Mikro İhracat ve Trendyol Cross-Border Fulfillment paketlerinde ZORUNLU, diğer paket tiplerinde opsiyoneldir. HTTP 409 iki durumda döner: (1) bu shipmentPackageId için zaten fatura iletilmiş, (2) bu bağlantı daha önce başka bir shipmentPackageId için kullanılmış. Yanlış iletilen bağlantı trendyol_delete_invoice_link ile silinip yeniden gönderilebilir.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoiceLinkYesFaturanın erişilebilir bağlantısı (8 yıl erişilebilir kalmalı)
invoiceNumberNoMikro İhracat / Cross-Border paketlerinde zorunlu — [3 alfanümerik][13 rakam]
invoiceDateTimeNoMikro İhracat / Cross-Border paketlerinde zorunlu — epoch saniye veya milisaniye
shipmentPackageIdYesSipariş paket numarası (kargo paketi ID)
Behavior5/5

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

With no annotations, description fully covers behavioral traits: how the link is used by Trendyol, legal requirement for 8-year accessibility, conditional parameter mandatory status, error causes, and recovery via delete tool. No contradictions.

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?

Description is detailed but every sentence adds unique context. Front-loaded with core purpose, then conditions, legal, errors, recovery. Could be slightly more concise, but no redundancy.

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?

Covers all critical aspects: purpose, usage conditions, legal requirements, parameter dependencies, error handling, and recovery in case of mistakes. No output schema but error info compensates. Complete for a mutation tool with 4 parameters.

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?

Despite 100% schema coverage, description adds significant value: explains which parameters are mandatory for which package types, legal context for invoiceLink, and pattern backgrounds. Goes beyond schema descriptions.

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?

Describes specific verb (transmits) and resource (e-archive invoice link) and explains the flow: sends link to Trendyol, they email customer. Clearly distinguishes from sibling tools like trendyol_send_invoice_file and trendyol_delete_invoice_link.

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 states when to use (when PDF cannot be sent to encrypted email) and provides alternatives (trendyol_delete_invoice_link). Also includes legal obligation, parameter conditions for specific package types, and error scenarios (HTTP 409) with corrective action.

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