Skip to main content
Glama

read_chatwork_file

Read-only

Download one file posted in a Chatwork room (≤5MB) as base64. The download URL Chatwork issues is fetched over the SSRF-pinned path (validated public address only).

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": {
      "room_id": "<room_id>",
      "file_id": "<file_id>"
    },
    "name": "read_chatwork_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoChatwork account label (see list_accounts). Required when more than one Chatwork account is connected and connection_id is not given.
file_idYesChatwork file id.
room_idYesChatwork room id (digits, from list_chatwork_rooms).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds real context beyond that: a 5MB ceiling and the fact that the Chatwork-issued URL is fetched over an SSRF-pinned, validated-public-address path — meaningful for an agent reasoning about failure modes and security behavior.

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 tight sentences with zero filler; the core action and its size limit come first, with the SSRF detail as supporting context.

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

Completeness4/5

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

A read-only tool with fully documented parameters and no output schema, and the description still declares the return encoding (base64). What is missing is minor: how oversized files fail and whether binary content is truncated.

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

Parameters3/5

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

Schema description coverage is 100%, so room_id, file_id, and account are all documented in the schema. The description adds nothing about parameter formats or the multi-account disambiguation rule, so baseline 3 applies.

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 a specific verb (download) and resource (one file posted in a Chatwork room), plus the output encoding (base64) and a size ceiling. The Chatwork scope distinguishes it from siblings like read_slack_file or download_attachment, though it never names an alternative explicitly.

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 5MB limit implies a constraint but the description gives no when-to-use guidance, no prerequisites, and no routing against the many nearby read/download siblings (read_file_content, download_file_content, read_slack_file). Usage must be inferred from the resource name.

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