Skip to main content
Glama

zas_edit_item

Update an item this agent sent by id, changing its title, note text, language, or secret cover. Only items sent by this agent can be edited; file bytes use a separate replace tool.

Instructions

Change an item this agent sent, keeping its id: the title of a file or a note, or a note's text, language and secret cover. Refuses items sent by anyone else. A file's bytes change with zas_replace_file. Needs a grant that includes reading and sending. Pass only the fields to change; an empty title clears it. 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
idYesItem id, as `zas_list_items` reports it.
langNoLanguage of the snippet, for highlighting (for example "ts", "py"). An empty string makes it plain text.
textNoNew body, for a note.
titleNoNew label. An empty string clears it, so the file name or the first line shows again.
secretNoHide the body behind a cover until the reader opens it. False removes the cover.
channelNoChannel name or id. Optional when the agent holds exactly one channel.

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 present, the description carries the full burden and does so well: it discloses the authorization grant required, the ownership restriction that causes refusal, the empty-value clearing semantics, and the side effect that the owner sees every sent item marked with the agent name on every device. This is far beyond what structured fields provide.

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?

Purpose and scope are front-loaded in the first clause, and every sentence carries information. The middle sentences are dense compound statements, but no sentence is filler; slight tightening would help readability.

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 mutation tool with no annotations and no output schema, the description covers authorization, ownership refusal, partial-update semantics, and visibility side effects. Nothing an agent needs to call it correctly is missing, and return-value documentation is unnecessary here.

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 coverage is already 100%, so the baseline is 3, but the description adds real meaning the schema lacks: PATCH-style semantics ('Pass only the fields to change') and the behavior of empty values ('an empty title clears it'), which qualifies the schema's per-field descriptions rather than repeating them.

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 ('Change an item this agent sent, keeping its id') and enumerates exactly which fields are editable (title, text, language, secret cover). It explicitly carves out the sibling boundary by noting file bytes change with zas_replace_file, so an agent can distinguish it from the other 12 tools 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?

Gives explicit preconditions ('Needs a grant that includes reading and sending'), an exclusion ('Refuses items sent by anyone else'), and an alternative ('A file's bytes change with zas_replace_file'). It also specifies partial-update usage ('Pass only the fields to change'), leaving nothing to inference.

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