Skip to main content
Glama

Coda Delete Folder

coda_delete_folder
Destructive

Permanently remove a folder from a Coda workspace and return its folder_id. Verify the folder before deleting, since contained docs may be moved or removed.

Instructions

Delete a folder from the Coda workspace. Returns confirmation with folder_id.

Permanently removes the folder. Docs inside the folder may be moved to the root level or deleted depending on Coda's behavior. Verify the folder with coda_get_folder before deleting.

Input Schema

NameRequiredDescriptionDefault
folder_idYesThe folder ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.1
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv0.4.14

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructive=true and openWorld=true, so the mutation profile is covered; the description still earns credit by disclosing the cascading side effect that annotations cannot express — child docs "may be moved to the root level or deleted depending on Coda's behavior." The honest admission of uncertainty is useful, though it does not resolve what actually happens to the contents, which is exactly the risk an agent needs to price in.

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?

Front-loaded with the action, then the return value, then the safeguard, then the side-effect caveat — a sensible order. "Delete a folder" and "Permanently removes the folder" restate each other slightly, but there is little waste overall.

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?

For a one-parameter destructive tool with no output schema, the definition covers the action, the return payload, the recommended pre-check, and the destructive ripple effect. The only remaining gap is that the fate of contained docs is left as "depends on Coda's behavior," but the agent is at least warned of the ambiguity.

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% with a single required parameter already documented as "The folder ID to delete," so the schema does the full job. The description only echoes that a folder_id comes back; baseline 3 applies.

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 ("Delete a folder from the Coda workspace") and even names the return payload ("confirmation with folder_id"). The resource "folder" cleanly separates it from the many other delete siblings (delete_doc, delete_page, delete_row, delete_permission).

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?

Explicitly routes the agent through a precondition ("Verify the folder with coda_get_folder before deleting"), which names a sibling and the condition for using it. It stops short of stating when NOT to delete or what alternatives exist for archiving/moving instead, so it is clear context rather than full when/when-not guidance.

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