Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

send_file

Sends a file to an existing open chat session using either a chat ID or phone number. Specify media type, filename, and optional caption to deliver images, video, audio, or documents.

Instructions

Send a file to an existing chat. (Only if the dialogue has an Open Session). Only one of two parameters is needed to determine the destination - chatId or phone.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "send_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
phoneNo
voiceNo
chatIdNo
captionNo
mediaIdNo
filenameNo
mediaTypeNo
quotedMsgIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation tool, yet it only discloses the open-session requirement. It says nothing about how the destination resolution fails if both or neither of chatId/phone are supplied, what happens with an invalid or expired mediaId, or what the call returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the purpose, so there is no padding. But the parenthetical and trailing newline fragment make it read as an unfinished note rather than a structured definition, and brevity here comes at the cost of the missing parameter and prerequisite information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A 9-parameter, zero-required, unannotated mutation tool with no output schema needs far more than two sentences. The prerequisite of obtaining a mediaId, the meaning of mediaType, and the mutual exclusivity fallback behavior are all absent, leaving the definition inadequate for correct invocation.

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% across 9 parameters, and the description explains only one relation: chatId XOR phone. The most consequential parameters — mediaId (presumably a previously uploaded media handle), mediaType (whose enum values are unstated in prose), caption, filename, voice/body, quotedMsgId — receive no explanation at all, so the caller cannot infer usage from the text.

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?

"Send a file to an existing chat" gives a specific verb (send) and resource (file), and the open-session parenthetical narrows the scope. It stops short of differentiating from the many sibling senders (send_message, send_sticker, send_product) or from create_upload_media, which the mediaId parameter implicitly requires.

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?

"Only if the dialogue has an Open Session" is a real precondition, and the note that chatId or phone alone determines the destination is useful caller guidance. However, there is no routing advice among the ~15 competing send_* tools, and no mention that a mediaId must first be produced by create_upload_media.

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