Skip to main content
Glama
bubua12

memos-mcp-server

by bubua12

Read attachment

read_attachment
Read-onlyIdempotent

Open Memos attachments to view images as pictures or text files as readable text; set full_size=true for original image instead of 600px preview.

Instructions

Open an attachment: images come back as viewable pictures (a ≤600px preview unless full_size=true), text files as text. To store the original file locally use download_attachment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
full_sizeNoReturn the original image instead of the preview
attachmentYesAttachment name ("attachments/…"), id, or file URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare this as a safe, read-only, idempotent operation, and the description goes further by disclosing return behavior: images come back as viewable pictures with a ≤600px preview unless full_size=true, while text files come back as text. This is useful context beyond the structured safety hints.

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 tightly written sentences with zero waste; the core behavior is front-loaded and the sibling routing comes second. Every clause earns its place.

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?

With no output schema, the description still explains what comes back for images and text, which is exactly the information an agent needs to use the tool correctly. Annotations cover the safety profile, so no essential context is 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 meaning beyond the schema by specifying the ≤600px preview size and how full_size changes that behavior. The attachment parameter's accepted forms are already fully described in the schema.

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 and resource ('Open an attachment') and directly distinguishes its output from the sibling tool by saying images return as viewable pictures and text as text. An agent can tell it apart from download_attachment without inspecting either schema.

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

Usage Guidelines5/5

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

Explicitly names the alternative ('To store the original file locally use download_attachment'), giving a clear when-to-use-this-vs-that rule. No inference is needed to choose between viewing and storing an attachment.

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