Skip to main content
Glama

td_set_content

DestructiveIdempotent

Writes text or table content to a DAT node, overwriting existing data. Specify the node path and the text or 2D table array to set.

Instructions

Write text or table content into a DAT node (overwrites existing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to a DAT node
textNoText content to write (for Text DATs, Script DATs, etc.)
tableNoTable content as 2D array of strings (for Table DATs)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already provide destructiveHint=true and idempotentHint=true, covering the key behavioral trait of overwriting. The description does not add further behavioral details such as side effects or error conditions, but does not contradict annotations.

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 a single, front-loaded sentence with no extraneous words. Every part is essential: the action, the resource, and the overwriting behavior.

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?

Given that annotations and schema provide most behavioral and parameter details, the description is mostly complete. It could note that exactly one of text or table should be provided, but overall it is sufficient.

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 descriptions cover 100% of parameters, so baseline is 3. Description mentions 'text or table content' but does not add new information beyond what the schema already provides for each parameter.

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 clearly states the action (write) and the resource (content into a DAT node), with the verb 'write' and specific resource 'DAT node'. It distinguishes from sibling tool td_get_content which reads content.

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 implies usage for setting or replacing content in a DAT node, and the parenthetical '(overwrites existing)' clarifies behavior. However, it does not explicitly mention when not to use it or provide direct alternatives.

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/dreamrec/TDPilot'

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