Skip to main content
Glama

kaiten_files_read

Read-onlyIdempotent

Retrieve metadata or binary content for Kaiten card, comment, and custom-property file attachments, including legacy numeric-ID and restricted UUID files.

Instructions

Select request.operation and provide its fields in request.args. list_card_files: List full card attachment metadata through the public card read, including legacy numeric IDs and restricted UUIDs; pagination is local. get_legacy_card_file: Find legacy numeric-ID file metadata in the public card read; missing files return FILE_NOT_FOUND. restrictedAccessCardFiles.getCardFile: Get complete restricted file metadata or a temporary location with redirect=true; this operation does not fetch file bytes. restrictedAccessCommentFiles.getCommentFile: Get complete comment-file metadata or a temporary location with query.redirect=true. restrictedAccessCustomPropertyFiles.getCustomPropertyFile: Get complete custom-property-file metadata or a temporary location with query.redirect=true. download_card_file: Retrieve a restricted card file as an embedded MCP binary resource, bounded by KAITEN_MAX_FILE_BYTES; never send API credentials to storage. download_comment_file: Retrieve a restricted comment file as an embedded MCP binary resource with the configured byte limit. download_custom_property_file: Retrieve a restricted custom-property file as an embedded MCP binary resource with the configured byte limit. download_legacy_card_file: Find a legacy numeric-ID attachment through the public card read and return its public URL bytes as an embedded MCP binary resource.

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": {
      "request": "<request>"
    },
    "name": "kaiten_files_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered; the description adds real behavior on top: pagination is applied locally, missing files return FILE_NOT_FOUND, redirect returns a temporary location instead of bytes, downloads are bounded by KAITEN_MAX_FILE_BYTES, and credentials must never be sent to storage. It stops short of saying what happens when the byte limit is exceeded or whether metadata reads are subject to the same limits.

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?

The leading instruction plus one line per operation is dense and front-loaded, and the parallel operation-name-first formatting makes scanning easy for a nine-branch dispatcher. The opening sentence is mechanical filler that repeats what the schema's required `operation`/`args` structure already enforces.

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?

For a nine-operation dispatcher with an output schema, the description covers branch selection, ID-type distinctions, redirect behavior, size limits, and error signaling, which is close to sufficient. It lacks an overall purpose statement and any mention of the write counterpart, but nothing an agent needs to pick a branch and call it is absent.

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

Parameters5/5

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

Schema description coverage is 0% and the input is a single `request` union whose fields carry no prose, so the description must compensate — and it does for the highest-risk fields: it explains that operation selects the branch, that args holds its fields, the meaning of redirect/query.redirect, and that limit/offset paginate locally. Only the `download` boolean on the get operations is left unexplained, which is a minor residual gap.

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?

Each operation is stated with a specific verb and resource (list_card_files lists card attachment metadata, get_legacy_card_file finds legacy numeric-ID metadata, download_* retrieves bytes as an embedded binary resource), so an agent can tell the nine branches apart. What is missing is a single top-level sentence naming the tool's overall purpose (read/download Kaiten card attachment files), and there is no explicit contrast with the kaiten_files_write sibling.

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?

The description effectively routes between the operations: legacy numeric IDs vs restricted UUIDs, metadata-only get operations ("this operation does not fetch file bytes") vs download operations that return bytes, and the redirect=true / query.redirect=true path for a temporary location. What it does not state is when to reach for this tool rather than kaiten_files_write or another read sibling, so the guidance is internal rather than cross-tool.

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