Skip to main content
Glama
AiAgency-Now

VoiceAI-MCP-VAVicky

Official
by AiAgency-Now

delete_assistant_file

Remove a specific file from an assistant in VoiceAI-MCP-VAVicky to manage file associations and maintain organized assistant configurations.

Instructions

Delete a specific file from an assistant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assistant_idYesAssistant ID
file_idYesFile ID

Implementation Reference

  • The switch case within the executeTool method that handles the 'delete_assistant_file' tool. It constructs the API endpoint URL using the provided assistant_id and file_id, and sets the HTTP method to DELETE to remove the specified file from the assistant.
    case 'delete_assistant_file':
      url = `${this.baseUrl}/assistants/${args.assistant_id}/files/${args.file_id}`;
      method = 'DELETE';
      break;
  • index.js:254-265 (registration)
    The tool registration entry in the ListToolsRequestSchema handler, which defines the tool name, description, and input schema for 'delete_assistant_file'.
    {
      name: 'delete_assistant_file',
      description: 'Delete a specific file from an assistant',
      inputSchema: {
        type: 'object',
        properties: {
          assistant_id: { type: 'string', description: 'Assistant ID' },
          file_id: { type: 'string', description: 'File ID' }
        },
        required: ['assistant_id', 'file_id']
      }
    },
  • The input schema definition for the 'delete_assistant_file' tool, specifying required parameters assistant_id and file_id.
    inputSchema: {
      type: 'object',
      properties: {
        assistant_id: { type: 'string', description: 'Assistant ID' },
        file_id: { type: 'string', description: 'File ID' }
      },
      required: ['assistant_id', 'file_id']
    }
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the action without behavioral details. It doesn't disclose whether deletion is permanent, requires specific permissions, has side effects (e.g., affecting assistant functionality), or provides confirmation feedback. For a destructive operation, this lack of transparency is a significant gap.

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, direct sentence with zero waste. It's front-loaded with the core action and target, making it highly efficient and easy to parse.

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 destructive tool with no annotations and no output schema, the description is incomplete. It doesn't cover behavioral aspects (e.g., permanence, permissions), expected outcomes, or error handling. Given the complexity of deletion operations, more context is needed to ensure safe and correct usage.

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 both parameters ('assistant_id' and 'file_id') clearly documented in the schema. The description doesn't add any meaning beyond what the schema provides, such as explaining how to obtain these IDs or their format. Baseline 3 is appropriate 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.

Purpose4/5

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

The description clearly states the action ('Delete') and target ('a specific file from an assistant'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'delete_assistant' or 'get_assistant_files', which would require more specific language about scope or relationship to other operations.

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?

No guidance is provided on when to use this tool versus alternatives. The description doesn't mention prerequisites (e.g., needing an existing file), exclusions, or comparisons to sibling tools like 'get_assistant_files' for listing files or 'delete_assistant' for broader deletions.

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/AiAgency-Now/MCP-VoiceAI-WhiteLabel'

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