Skip to main content
Glama

فهرست و جستجوی نامه‌ها

mizito_list_letters
Read-only

List letters newest first from inbox, outbox, or archived. Apply filters like search, label, read status, or attachments to search across all boxes.

Instructions

Letters (نامه‌ها، کارتابل), newest first. Without filters it lists a box; any filter switches to Mizito's search, which looks across boxes. Use thread with mizito_get_letter_thread, mizito_reply_letter and mizito_manage_letter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boxNoinbox = received, outbox = sent (and your referrals), archived = archived received letters.inbox
offsetNoSkip this many letters (paging).
searchNoSearch words in subject and text (switches to search mode across boxes).
label_idNoOnly letters with this label (mizito_list_labels kind='inbox').
to_user_idNoOnly letters to this member (search mode).
attachmentsNoFilter by attachments (search mode).any
read_statusNoFilter by read state (search mode).any
secretariatNoOnly registered official letters: incoming (وارده) or outgoing (صادره).any
from_user_idNoOnly letters from this member (search mode).
letter_numberNoOfficial letter number (شماره نامه) to find.
conversation_idNoOnly letters linked to this conversation / customer file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior beyond that: result ordering and the implicit mode switch that changing filters causes. It does not cover pagination or result limits, which keeps it short of a 5.

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 tight sentences, front-loaded with the resource and ordering, then the behavioral rule, then the sibling routing. No filler; every clause carries information.

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 an 11-parameter read-only tool with full schema coverage and no output schema, the description supplies the critical missing context (mode switching) and cross-links to the thread tools. Only pagination/return expectations are unaddressed, which is minor.

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%, so every parameter is already documented in the schema. The description only adds the meta-rule that any filter triggers cross-box search mode; it does not add per-parameter meaning beyond the schema. Baseline 3 is appropriate.

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?

States the resource (letters/نامه‌ها/کارتابل) and the ordering (newest first), and clarifies the two operating modes (box listing vs cross-box search). It distinguishes itself from the letter-thread tools it points to, though it doesn't differentiate from other list/search siblings such as mizito_search_messages.

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

Usage Guidelines4/5

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

Gives the key selection rule: no filters = list a box, any filter = search across boxes. It also routes to mizito_get_letter_thread / mizito_reply_letter / mizito_manage_letter for thread work. No explicit when-not-to-use or comparison against other list tools, but the context is clear.

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