Skip to main content
Glama

weeek_attach_file

Attach a local file to a WEEEK task, accepting only paths from the allowed directory or subfolders and refusing others for safety.

Instructions

Attach a local file to a WEEEK task. For safety only files inside the allowed directory (the server's working directory by default, or WEEEK_ATTACH_DIR if set) — and its subfolders — may be attached; paths outside it are refused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
task_idYes
Behavior4/5

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

The description transparently discloses the tool's safety boundary (allowed directory and refusal for outside paths) and the configurable directory via WEEEK_ATTACH_DIR. This goes beyond the openWorldHint annotation, which only signals external interaction, providing concrete behavioral guidance for error prevention.

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 sentences, front-loads the primary purpose, and immediately follows with a critical safety note. No redundant words or filler. Perfectly sized for quick parsing.

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 2-parameter tool with openWorldHint and no output schema, the description provides sufficient context: purpose and the key security restriction. It omits return behavior or effects on existing attachments, but these are less critical for a straightforward attach operation.

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?

With 0% schema coverage, the description adds meaning for 'path' by detailing the allowed directory constraint, but it does not explicitly clarify path format (absolute vs relative) or elaborate on task_id beyond the task context. Partial compensation for the schema gap.

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 ('attach'), an object ('local file'), and a target ('WEEEK task'), clearly distinguishing it from all sibling tools. It is unambiguous and immediately understandable.

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 gives clear context for when to use the tool (attaching a local file to a task) and adds a crucial constraint (only files within the allowed directory). It does not explicitly name alternatives, but no sibling tool serves this purpose, so clear context without exclusions is sufficient.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IlyaIvanchikov/weeek-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server