Skip to main content
Glama

create_e_archive

Issues an existing sales invoice as an e-Arşiv for recipients not registered for e-Fatura, including optional internet-sale payment and VAT exemption details.

Instructions

Low-level: issue a sales invoice as an e-Arşiv (for recipients not registered for e-Fatura).

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": {
      "sales_invoice_id": "<sales_invoice_id>"
    },
    "name": "create_e_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
internet_saleNoInternet-sale info (required only when the sale was made online)
sales_invoice_idYesID of an existing sales invoice to issue as an e-Arşiv
vat_exemption_reasonNoVAT exemption reason text
vat_exemption_reason_codeNoVAT exemption reason code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses little beyond the action itself. It does not say that issuance is a legally binding, non-reversible submission, whether it requires an existing approved sales invoice (beyond the schema's field hint), what authentication or taxpayer-registration prerequisites apply, or what happens on failure.

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 the 'Low-level' qualifier first, which warns the agent this is a raw primitive. It is efficient, though 'Low-level' is never unpacked into what that implies for the caller.

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

Completeness2/5

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

For a tool with a nested internet_sale object, VAT exemption fields, no annotations, and no output schema, one sentence is thin. Nothing is said about issuance outcome, identifiers returned, prerequisites, or whether the invoice state changes, so the agent lacks the context needed to call it safely.

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 100% and the nested internet_sale object is fully documented, so the baseline is 3. The description adds no syntax or format detail beyond the schema, only the recipient condition, which is already implied by the schema's sales_invoice_id text.

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 ('issue') and resource ('a sales invoice as an e-Arşiv'), and the parenthetical qualifies the recipient class ('not registered for e-Fatura'), which lets an agent separate it from the e-Fatura issuance path. It stops short of naming the sibling it differs from, so it is clear but not fully differentiated.

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: the recipient-registration condition signals when this path applies rather than a stated when-to-use rule. There is no explicit exclusion or named alternative such as create_e_invoice, so the agent must infer the routing decision.

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