Skip to main content
Glama

zas_send_file

Send a file from this machine into an owner's Zas channel. Returns an item ID, or a job ID if upload takes over a minute; not for Directo channels.

Instructions

Send a file from this machine into one of the owner's Zas channels. Returns the item id, or a job id when the upload takes longer than a minute. A channel in Directo mode refuses this tool: use zas_send_direct there. Sends any file this process can read; confirm with the owner before sending secrets, keys or credentials. The owner sees every item this agent sends with the >_ agent mark and this agent's name, on every device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute or relative path of the file to send.
titleNoLabel for the item. Defaults to the file name.
channelNoChannel name or id. Optional when the agent holds exactly one channel.
expires_in_daysNoHow many whole days the item should live for, at least 1. Leave it out for the account's normal life (5 days). It can only shorten an item, never extend one: a longer request is clamped to what the plan grants. Worth setting for output that is stale tomorrow, such as a build log or a test run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the async return shape (item id, or a job id when the upload exceeds a minute), a hard refusal condition for Directo channels, a capability boundary ('any file this process can read'), and an audit/visibility behavior ('owner sees every item ... with the >_ agent mark and this agent's name, on every device').

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?

Four compact sentences, each carrying distinct information (action, return shape, refusal/alternative, safety warning, visibility), with the core action front-loaded and no filler.

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?

There is no output schema and no annotations, so the description must cover both; it explains the return values (item id vs job id), the refusal path, and the safety/visibility implications. Nothing an agent needs to invoke this correctly appears to be 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 description coverage is 100%, so the baseline is 3; the description adds meaning beyond it by tying the `channel` parameter to the Directo-mode refusal and by characterizing `path` as limited to files 'this process can read'. It does not restate the `expires_in_days` clamping semantics, but the schema already covers that well.

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 with scope: 'Send a file from this machine into one of the owner's Zas channels.' It also explicitly differentiates from a sibling by noting that a channel in Directo mode refuses this tool and that zas_send_direct should be used there.

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?

Gives an explicit exclusion rule ('A channel in Directo mode refuses this tool: use zas_send_direct there') naming the alternative tool, plus a safety precondition ('confirm with the owner before sending secrets, keys or credentials'). Both when-not-to-use and the alternative are stated outright.

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