Skip to main content
Glama
Catter58

mcpBPMSoft

by Catter58

Очистить бинарное поле

bpm_field_delete
DestructiveIdempotent

Delete binary data stored in a field of an entity record. Specify the collection, record ID, and field name to remove the stored binary content.

Instructions

DELETE бинарных данных в поле сущности.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionYes
idYes
fieldYes

Implementation Reference

  • The tool handler for bpm_field_delete. Registers the tool with Zod input schema (collection, id, field), validates the field name, calls deleteFieldBinary on the OData client, and returns a success message with structured content.
    // bpm_field_delete
    {
      const meta = getTool('bpm_field_delete');
      server.registerTool(
        meta.name,
        {
          title: meta.title,
          description: meta.description,
          inputSchema: {
            collection: z.string(),
            id: z.string(),
            field: z.string(),
          },
          annotations: meta.annotations,
        },
        async (params): Promise<CallToolResult> => {
          if (!services.initialized) return notInitialized();
          try {
            await services.authManager.ensureAuthenticated();
            if (!isSafeIdentifier(params.field)) {
              return {
                content: [{ type: 'text', text: `Недопустимое имя поля: "${params.field}"` }],
                isError: true,
              };
            }
            await services.odataClient.deleteFieldBinary(params.collection, params.id, params.field);
            return {
              content: [
                { type: 'text', text: `Поле ${params.collection}(${params.id}).${params.field} очищено.` },
              ],
              structuredContent: {
                collection: params.collection,
                id: params.id,
                field: params.field,
                deleted: true,
              },
            };
          } catch (error) {
            const toolError = formatToolError(error, params.collection);
            return { content: [{ type: 'text', text: JSON.stringify(toolError, null, 2) }], isError: true };
          }
        }
      );
    }
  • The deleteFieldBinary method on ODataClient. Builds the URL as {collectionPath}/{id}/{field} and sends a DELETE request with binary content kind to the OData API.
    /** DELETE binary content of an entity field. */
    async deleteFieldBinary(collection: string, id: string, field: string): Promise<void> {
      const url = `${this.buildRecordPath(collection, id)}/${encodeURIComponent(field)}`;
      await this.httpClient.request({
        method: 'DELETE',
        url,
        contentKind: 'binary',
      });
    }
  • Tool metadata registration for bpm_field_delete in the central TOOLS registry. Defines name, title, description, annotations (destructiveHint: true), blurb, and category ('stream').
    {
      name: 'bpm_field_delete',
      title: 'Очистить бинарное поле',
      description: 'DELETE бинарных данных в поле сущности.',
      annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true },
      blurb: 'DELETE бинарь в поле сущности',
      category: 'stream',
    },
  • Input schema for bpm_field_delete defined using Zod: collection (string), id (string), and field (string).
    inputSchema: {
      collection: z.string(),
      id: z.string(),
      field: z.string(),
    },
    annotations: meta.annotations,
Behavior3/5

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

Annotations already indicate destructiveHint=true and idempotentHint=true. The description confirms the destructive nature but adds no additional behavioral details beyond what annotations provide.

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

Conciseness2/5

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

The description is overly brief. While concise, it lacks essential details and is too short to be useful, sacrificing completeness for brevity.

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 three parameters and no output schema, the description fails to provide a complete picture. It does not explain effects, permissions, or result of the operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%. The description does not explain the meaning or usage of any parameters (collection, id, field), leaving the agent without semantic guidance.

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 it deletes binary data in an entity field. However, it does not differentiate this tool from siblings like bpm_delete_record or bpm_field_upload.

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. There is no mention of prerequisites or context for usage.

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/Catter58/mcpBPMSoft'

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