Skip to main content
Glama

Yougile Attach File

yougile_attach_file

Upload a file to a YouGile task and post it as an attachment in the task chat, optionally with a comment.

Instructions

Attach a file to a task: upload it to YouGile and post it into the task's chat, where it shows as an attachment, optionally after a comment. Pass file_path, or content_base64 with filename.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYesTask number like ID-123 or DEV-12, or its id
commentNoA message posted before the file
confirmNoSet true only after the user explicitly approved a write into a client-facing project (needed only when the tool answered confirmation_required).
filenameNoFile name, with content_base64
file_pathNoA file on this computer (local server only)
content_base64NoFile content in base64

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.16.0

TDQS

A4/5.0
Behavior3/5

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

Annotations only provide destructiveHint=false, so description carries most behavioral burden. It discloses the side effect (upload + chat post), the two input modes, and the optional comment. It does not mention confirmation_required behavior (though the confirm param description hints at it), auth requirements, or what happens on failure/duplicates.

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 sentences: first states the action and mechanism, second gives the invocation modes. No filler, no repetition of schema descriptions. Front-loaded with the primary purpose.

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?

Complete for a single-file attachment tool: mechanism, input modes, and optional comment are all covered. The main gap is that the confirmation flow is only implied via the confirm parameter, not described in the tool description itself; however, with schema describing confirm and annotations marking non-destructive, an agent can proceed confidently.

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 the schema already documents all 6 parameters. The description adds the key semantic detail that file_path OR content_base64+filename are the two acceptable input combinations, which helps the agent choose the right mode. It doesn't elaborate on the confirm logic beyond what the schema description already says.

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?

Description starts with a clear verb+object: 'Attach a file to a task', then details the mechanism (upload to YouGile, post into task chat as attachment) and the optional comment. This differentiates it from siblings like yougile_task_chat (chat interaction) and yougile_files (file listing) by focusing on the attach action.

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 explains how to use it ('Pass file_path, or content_base64 with filename'), giving two explicit invocation modes. It doesn't explicitly say when not to use it or name alternatives, but the chat-attachment mechanism and the dual input options provide clear practical guidance. The confirm parameter description also adds when-to-set guidance.

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