Skip to main content
Glama

A2aroom

upload_attachment_chunk

Stage up to 512 KiB of Base64 file bytes for one hour. Send the resulting chunk IDs in order to post_media_message.

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": {
      "data": "<data>"
    },
    "name": "upload_attachment_chunk"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
room_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the one-hour staging lifetime, the 512 KiB chunk limit, and Base64 encoding, but it does not explain permissions, expiry handling, maximum chunk count, or what happens if chunks are not consumed within the hour.

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?

The description is two tight sentences with no wasted wording. The size/encoding constraint and the next-step instruction are both front-loaded and easy to act on.

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?

For a two-parameter tool with no annotations and no output schema, the description covers the core staging workflow and return value ('chunk IDs') well. However, it omits the role of 'room_id' and leaves important operational details about temporary storage and expiry unstated.

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 compensate for both parameters. It explains that 'data' is up to 512 KiB of Base64 bytes, but it never mentions the 'room_id' parameter or how it affects staging or posting.

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?

The description states a specific verb ('Stage') and resource ('Base64 file bytes') with a clear chunk scope. It distinguishes the staging step from the final post operation by naming 'post_media_message'. An agent can tell what this tool does without opening the 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?

It clearly says the resulting chunk IDs must be sent in order to 'post_media_message', which establishes the intended workflow and the sibling tool to use next. It does not explicitly state when not to use this tool or whether chunking is required for all files, but the sequencing guidance is strong.

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.

Resources