Skip to main content
Glama

Bucket File Append Text

bucket_file_append_text

Append UTF-8 text to an existing text file in a bucket, such as txt, md, csv, jsonl, js/code files, and similar text formats. This is not a binary-file API and it does not parse CSV or JSON; for ordinary .json, raw append can make invalid JSON. If the file or bucket is locked, retry briefly; if it remains locked, report error.details including the lock owner and message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesExisting bucket-relative text file path, for example leads.csv, notes.md, or src/app.js.
contentYesUTF-8 text to append. Include any trailing newline wanted after the appended block.
bucket_idYesRevdoku bucket id returned by bucket_list or bucket_get, for example bkt_...
newline_beforeNoWhen true, insert one newline before content only if the existing file is non-empty and does not already end with \n. Defaults to true.
expected_bucket_revision_idNoOptional optimistic-concurrency token from bucket.current_bucket_revision_id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketYes
appendedYes
guidanceNo

TDQS

A4.4/5.0
Behavior5/5

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

The description adds meaningful behavioral context beyond the annotations: it warns about invalid JSON from raw appends, clarifies that it only handles text files, and provides concrete lock-retry guidance ('retry briefly; if it remains locked, report error.details including the lock owner and message'). This enriches the agent's understanding of edge cases and error handling.

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 three sentences with a clear front-loaded purpose, followed by caveats and then lock behavior. Every sentence earns its place, and there is no redundant restating of schema fields or annotations.

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?

With an output schema present and annotations covering safety, the description covers the key behavioral caveats: text-only, non-parsing, JSON invalidity risk, and lock handling. It does not explicitly state behavior for a missing file or invalid bucket, but 'existing text file' and the detailed lock guidance keep it substantially complete for a mutation tool of this complexity.

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 five parameters in detail. The description adds minor color around file types and the meaning of 'content' being UTF-8, but it does not substantially enhance parameter understanding beyond the schema, meriting the baseline score.

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 opens with a specific verb and resource: 'Append UTF-8 text to an existing text file in a bucket,' and lists example formats (txt, md, csv, jsonl, js/code). It also differentiates itself by explicitly stating it is not a binary-file API and does not parse CSV or JSON, which distinguishes it from sibling tools like bucket_file_write and bucket_file_read.

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 when-to-use context: appending to existing text files, with concrete format examples. It explicitly states what it is not for (binary files, parsing CSV/JSON) and warns about invalid JSON. However, it does not name a specific alternative tool for overwriting or binary operations, so it stops short of fully explicit exclusion guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.6/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but a few overlaps exist: bucket_file_move and bucket_file_rename both handle same-bucket renames/moves, and bucket_file_reorganize overlaps with copy/move operations. The detailed descriptions help clarify, but the boundaries aren't always obvious.

Naming Consistency4/5

The naming follows predictable patterns: bucket_<verb> for bucket-level actions, bucket_file_<verb> for file operations, bucket_publication_<verb> for publications, and website_preview_* for previews. Minor deviations like bucket_create_from_template, bucket_set_public_slug, and bucket_update_publication_access deviate slightly but remain readable.

Tool Count2/5

At 42 tools, the server is overweight for its scope. While the platform is feature-rich, many tools are narrowly specialized (e.g., bucket_publication_leads, bucket_lock_visibility_changes) and some are redundant (file_move vs file_rename vs file_reorganize), making the surface larger than necessary for an MCP server.

Completeness3/5

The tool set covers the full bucket lifecycle and most file operations, but there is no direct file delete tool (only via delete_missing in write_many or cross-bucket move soft-delete) and binary uploads are explicitly delegated to the CLI/REST. These are notable gaps for a complete file management workflow.