Skip to main content
Glama

upload-wiki-file

Upload a file to a Dooray wiki and return its attach file ID for use when creating a wiki page.

Instructions

Upload a file to a Dooray wiki (not page-specific).

This is useful for pre-uploading files before creating a wiki page. The returned attachFileId can be used in create-wiki-page's attachFileIds parameter.

Required Parameters:

  • wikiId: The wiki ID

  • filePath: Absolute path to the file to upload (e.g., "/Users/name/document.pdf")

Example: { "wikiId": "123456", "filePath": "/Users/nhn/Downloads/report.pdf" }

Workflow:

  1. Upload file with this tool -> get attachFileId

  2. Create wiki page with create-wiki-page using attachFileIds: [attachFileId]

Returns: File ID and attach file ID of the uploaded file.

Input Schema

NameRequiredDescriptionDefault
wikiIdYesWiki ID
filePathYesAbsolute path to the file to upload

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, so the write nature is known; the description adds value by disclosing the returned attachFileId and how it feeds create-wiki-page. It does not cover permissions, file size limits, or overwrite behavior for an existing filename, which is the remaining gap for a write tool.

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?

Front-loaded one-line purpose followed by skimmable sections (Required Parameters, Example, Workflow, Returns). Some redundancy between the prose 'pre-upload' sentence, the Workflow section, and the Returns line, but each block is short and the structure aids scanning.

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

Completeness5/5

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

For a 2-parameter write tool with no output schema, the description covers purpose, params, return value (file ID and attach file ID), and the end-to-end workflow with the consuming tool. Nothing an agent needs in order to call it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, and the description raises it slightly with a concrete JSON example that demonstrates the expected path format ("absolute path e.g. /Users/name/document.pdf") and a string-typed wikiId. It doesn't explain whether wikiId must be one the caller has write access to, but the format guidance is real added value.

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?

States a specific verb and resource ("Upload a file to a Dooray wiki") and immediately scopes it with "(not page-specific)", which distinguishes it from the sibling upload-wiki-page-file. An agent can route correctly without opening any schema.

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

Usage Guidelines5/5

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

Explicitly names the use case (pre-uploading before page creation) and the downstream alternative, create-wiki-page with attachFileIds. The numbered workflow makes the when-to-use and ordering unambiguous, and the 'not page-specific' note excludes the wrong sibling.

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