Skip to main content
Glama
AIWerk

@aiwerk/mcp-server-elevenlabs

by AIWerk

update_file_document_route

Updates a document in the knowledge base by replacing its file content using a local path or base64 data. Requires the document ID.

Instructions

Update File Document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathNoDocumentation that the agent will have access to in order to interact with users. Local path. Required for this call.
file_base64NoBase64 contents for "file". Use this when the server cannot read your local disk.
file_filenameNoFilename to send for "file". Some endpoints infer the audio format from it.
documentation_idYesThe id of a document from the knowledge base. This is returned on document addition.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, covering the basic safety profile. The description adds nothing beyond that: it does not say what is replaced, whether the prior file is destroyed, what permissions are needed, or what the response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is extremely short and front-loaded, but the brevity reflects under-specification rather than efficient communication. There is no wasted sentence because there is effectively no content.

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

Completeness2/5

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

For a non-idempotent, open-world mutation tool with no output schema, the description omits what the update does, what inputs are required versus optional in practice, and what the caller gets back. Only the 100% schema coverage keeps this from being entirely inadequate.

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 4 documented parameters, so the schema carries parameter meaning on its own. The description adds no additional parameter semantics, which is the expected baseline of 3 when the schema does the heavy lifting.

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

Purpose2/5

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

The description is essentially a restatement of the tool name ('Update File Document'), with no verb+resource detail beyond the title. It does not distinguish this from sibling tools such as update_document_route or create_file_document_route, so an agent cannot tell what resource is being updated or how it differs.

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 when-to-use guidance, no prerequisites, and no mention of alternatives among the many sibling update/create document tools. The agent receives no signal about when this tool is the correct choice.

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

Deploy Server

Other Tools