Skip to main content
Glama

upload

Send a file to a chat as a photo, document, or voice note, with an optional rich text caption.

Instructions

Upload a file to a chat (sends a photo, document, or voice note by type; caption is rich text)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It adds one useful behavioral detail ('caption is rich text') and implies type-driven send modes, but says nothing about authentication, size limits, error behavior, or what happens on success.

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 with the core action first and clarifying detail in parentheses. No wasted words, though the parenthetical is slightly dense.

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?

With an empty schema, no annotations, and no output schema, the description is the only source of information. It conveys intent but leaves open how the file and target chat are supplied, which is a meaningful omission for an upload tool.

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?

The schema has zero parameters, so the baseline of 4 applies per the scoring rules. The description mentions 'type' and 'caption' concepts that do not surface as schema fields, but this is a schema gap rather than misleading parameter documentation.

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?

The description states a concrete verb and resource ('Upload a file to a chat') and clarifies the media it handles (photo, document, voice note), which helps separate it from the text-oriented 'send' sibling. It stops short of explicitly naming when to prefer 'photo' or 'voice' over this tool, so it is clear but not fully differentiated.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as 'send', 'photo', or 'voice', nor any stated prerequisites like a target chat. Usage is only inferable from the tool name and the parenthetical about media types.

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