Skip to main content
Glama

mekktup — online mektup yazma ve gönderme

Mektup taslağı oluştur

create_letter

Taslağı oluşturur. Yanıt: id, token (sakla), handoff_url (kullanıcıya ver), missing (eksik alanlar), quote. Bilmediğin alanı boş bırak; kullanıcı devir sayfasında tamamlar. Tekrar denemende (ağ hatası vb.) mükerrer taslak açmamak için aynı idempotency_key'i gönder.

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": {
      "body": "<body>"
    },
    "name": "create_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesmektup metni (en az 20 karakter)
fontNo/options → font kodu; boş = varsayılan
agentNoajan adı (ör. ChatGPT)
scentNo
categoryNo
postcardNokartpostal kategorisi kodu; görseli kullanıcı seçer
ink_colorNo
paper_colorNo
sender_cityNo
sender_nameNo
sender_emailNo
sender_phoneNo
recipient_refNohükümlü / sicil no (isteğe bağlı)
envelope_colorNo
recipient_cityNo
recipient_nameNo
recipient_unitNokoğuş, bölük, servis…
sender_addressNo
sender_countryNoGönderen yurt dışındaysa ülke adı (ör. Almanya). Doluysa sender_district / sender_city zorunlu değildir. Türkiye için boş bırakın.
idempotency_keyNoBenzersiz anahtar (UUID). Aynı anahtarla tekrar çağrı yeni taslak açmaz; 15 dk içinde var olan taslağın id+token'ını döner.
sender_districtNo
recipient_addressNo
recipient_districtNo
sender_national_idNoT.C. kimlik no; uydurma, boş bırak
sender_postal_codeNo
recipient_father_nameNocezaevi: zorunlu
recipient_institutionNocezaevi / birlik / kurum adı
recipient_postal_codeNo
recipient_destination_idNokatalog kaydı (/destinations); cezaevi için zorunlu

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sender_country
      Added value: +{
      +  "description": "Gönderen yurt dışındaysa ülke adı (ör. Almanya). Doluysa sender_district / sender_city zorunlu değildir. Türkiye için boş bırakın.",
      +  "maxLength": 60,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Benzersiz anahtar (UUID). Aynı anahtarla tekrar çağrı yeni taslak açmaz; 15 dk içinde var olan taslağın id+token'ını döner.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.9/5.0
Behavior5/5

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

With no output schema, the description carries the response shape itself (id, token to store, handoff_url for the user, missing fields, quote) and explains the human handoff loop — information unavailable anywhere else. It also clarifies retry/idempotency behavior with a 15-minute window, which resolves the otherwise ambiguous idempotentHint=false annotation by showing duplicates only occur without a key.

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?

Three short, front-loaded sentences: purpose first, then the response contract, then the fill-blanks and retry rules. Every sentence carries distinct operational value with no filler.

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

Completeness3/5

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

For a mutation tool with 29 parameters and no output schema, the description covers the return contract and the missing-field workflow well. It omits any prerequisite or conditional-requirement context (e.g. which fields become mandatory for the cezaevi category or when recipient_destination_id is needed), which the schema only partially signals.

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 only 41% across 29 parameters, and most (scent, ink_color, paper_color, envelope_color, etc.) are undocumented in both schema and description. The description does add a meaningful global policy — omit what you don't know and let the handoff page fill it in — plus non-obvious idempotency_key semantics, but it leaves the bulk of the parameter space unexplained.

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 opens with a concrete verb+resource ("Taslağı oluşturur" = creates the draft), and the name/title identify it as a letter draft, which separates it from get_letter/update_letter. It does not explicitly name a sibling or state what makes this creation distinct from update_letter, so it stops short of 5.

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?

It gives operational guidance (leave unknown fields empty, user completes them on the handoff page, resend the same idempotency_key on retry), which is real when/how context. However, it never addresses when to choose this over quote_letter, get_letter, or update_letter, so the alternative-selection guidance is only implied by the verb.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources