Skip to main content
Glama
Tealfabric MCP Server for Cursor

Tealfabric MCP Server for Cursor

Official
by tealfabric

tealfabric_write_document_text

Write UTF-8 text to a Tealfabric document path and automatically create a backup before saving. Use it to update document content safely through Cursor.

Instructions

Write UTF-8 text to a Tealfabric documents path (action=write-text; creates a backup).

Input Schema

NameRequiredDescriptionDefault
contentYesUTF-8 text content
encodingNoMust be utf8 / utf-8 when provided
file_pathYesFull path to the file to write
tenant_idNoIgnored by the API; auth tenant wins. Kept for backward compatibility.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one genuinely useful behavior — that a backup is created — but says nothing about whether an existing file is overwritten, whether a missing parent path is created, what auth/permissions are required, or what is returned on success. That leaves significant gaps for a mutation tool.

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?

A single front-loaded sentence with the action and resource first and the backup note trailing. Parenthetical '(action=write-text...)' is slightly implementation-leaky but short enough not to waste space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description should say what a successful call produces or how conflicts are handled; it does not. With no annotations on a destructive-capable write, the only behavioral detail offered is the backup creation, which is helpful but not sufficient for full confidence.

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 all four parameters are already documented, including the non-obvious 'tenant_id is ignored' note. The description only restates the UTF-8 nature of content/encoding, adding no meaning beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: write UTF-8 text to a Tealfabric documents path. An agent can distinguish it from nearby read/upload/delete siblings by the 'write text' framing, though it never explicitly contrasts with tealfabric_upload_document, which is the closest alternative for putting content into a document.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this instead of tealfabric_upload_document or tealfabric_read_document_text, and no prerequisites or conditions are given. Usage is only implied by the verb 'write' and the 'documents path' noun.

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