Skip to main content
Glama

Extract Signal Attachment

extract_attachment
Idempotent

Decrypt and save a single Signal message attachment by message_id so you can open or inspect it directly; ignored conversations or messages are blocked.

Instructions

Decrypt and save a single attachment from a Signal message by message_id so it can be opened or inspected directly (blocked if conversation/message is ignored).

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": {
      "message_id": "<message_id>"
    },
    "name": "extract_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYes
output_pathNo
attachment_indexNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations declare idempotent and non-destructive but leave readOnlyHint=false unexplained; the description fills that gap by disclosing that the tool decrypts and writes a file to disk. The "blocked if conversation/message is ignored" note is genuine behavioral context an agent cannot get from the annotations. It does not cover overwrite behavior when output_path already exists.

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 that leads with the action and purpose, with no filler. The trailing parenthetical is slightly crammed but every clause carries information.

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?

The output schema covers return values, so the description need not explain them, and it does explain the decrypt-and-save side effect. Against three parameters at 0% schema coverage, though, leaving output_path and attachment_index undefined is a meaningful gap for a tool that writes to the filesystem.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the parameter burden and largely does not. It clarifies message_id as identifying a Signal message but says nothing about output_path (where the file lands, defaults) or attachment_index (selecting among multiple attachments in a message).

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 specific verbs ("Decrypt and save") and a precise resource ("a single attachment from a Signal message") keyed by message_id, which cleanly separates it from bulk siblings like export_conversation. It stops short of naming any alternative tool, so the differentiation is implied rather than explicit.

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?

The purpose clause ("so it can be opened or inspected directly") implies when to reach for it, and the parenthetical adds a real precondition about ignored conversations/messages. However, there is no explicit when-not guidance and no named alternative for extracting whole conversations versus a single attachment.

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