Skip to main content
Glama

Son Belge

gib_get_last_document

Retrieves the last created document from the portal, supporting optional filters for document type and recipient tax ID.

Instructions

Portalda en son oluşturulan belgenin detaylarını getirir (varsayılan olarak son 1 yıl içinde arar).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
belgeTuruNoBelge türü: FATURA (e-Fatura), MUSTAHSIL (e-Müstahsil Makbuzu), SMM (Serbest Meslek Makbuzu)FATURA
recipientIdNoYalnızca bu alıcı VKN/TCKN için ara
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It only states that it 'gets details' without indicating side effects, read-only status, authentication requirements, or error behavior (e.g., what happens if no document exists). The lack of transparency is significant for a read operation.

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?

The description is a single concise sentence that efficiently conveys the core functionality and default behavior. It is front-loaded and to the point, though it could include a bit more detail without becoming verbose.

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 simple retrieval tool, the description covers the basic action and default scope. However, the absence of an output schema leaves return values unspecified, and the description does not distinguish from sibling tools or explain how the results are ordered. With 2 optional parameters and no output schema, more completeness would be beneficial.

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?

The input schema covers 100% of parameters with descriptions, enums, and defaults. The description does not add additional meaning beyond the schema, such as how parameters affect the search logic. Baseline 3 is appropriate given full schema coverage.

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 clearly states that the tool retrieves details of the last created document in the portal, with a default search range of the last year. The purpose is specific and understandable, but it does not clarify how 'last' is determined (e.g., by creation date) or how it differs from `gib_get_document` which retrieves a specific document.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus sibling tools like `gib_get_document`, `gib_list_documents`, or `gib_list_documents_issued_to_me`. The description does not mention prerequisites, typical use cases, or scenarios where other tools are more appropriate.

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/gib-fatura-mcp'

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