Skip to main content
Glama

Mailbox File Get

mailbox_file_get
Read-onlyIdempotent

Get full metadata for one mailbox file by file_id (preferred) or path, without downloading its content. Use this to expand the lean file_id/version_id returned by mailbox_file_write and mailbox_file_write_many into complete file details when needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoMailbox-relative path, used when the file_id is not known.
reasonNoOptional reason for this action. AI agents should include a short purpose for intentional reads and changes when known. Do not invent a reason or include secrets, file contents, or transcripts.
file_idNoRevdoku file id (df_...) returned by mailbox_file_write, mailbox_file_write_many, or mailbox_file_list.
account_idNoOptional account id from revdoku_status.accounts for this call only. Omit for the credential's default account. Client accounts require explicit Agency authorization; never infer an account from a mailbox id.
mailbox_idYesValue for mailbox id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description still adds genuine behavioral context: this returns metadata only and does not download content, which is the key distinction from the read siblings.

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?

Two sentences, front-loaded with the action and the metadata-only constraint, followed by the usage trigger. Zero filler.

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?

An output schema exists so return values need no explanation, and annotations carry the safety profile. The description correctly covers the metadata-vs-content distinction and the source of the identifiers, leaving nothing an agent needs missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds the meaningful precedence rule 'file_id (preferred) or path' that the schema does not state as explicitly. That ordering guidance is a real addition beyond the structured field 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?

States a specific verb+resource ('Get full metadata for one mailbox file') and immediately differentiates from content-reading siblings with 'without downloading its content.' An agent can distinguish this from mailbox_file_read and mailbox_file_list without opening a schema.

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?

Explicitly names when to use it: to expand the lean file_id/version_id returned by mailbox_file_write and mailbox_file_write_many. It gives a clear triggering condition but does not explicitly name the read-content alternative or state when NOT to use it.

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.