Skip to main content
Glama

businessobject-function-delete

DestructiveIdempotent

Remove specific functions from Business Objects in the Simplifier Low Code Platform by specifying the business object and function names.

Instructions

Delete an existing Business Object Function

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
businessObjectNameYes
functionNameYes

Implementation Reference

  • Handler function that performs the deletion of a Business Object function by calling simplifier.deleteServerBusinessObjectFunction with tracking.
    async ({ businessObjectName, functionName }) => {
      return wrapToolResult(`Delete Business Object Function ${businessObjectName}.${functionName}`, async () => {
        const trackingKey = trackingToolPrefix + toolNameBusinessObjectFunctionDelete
        return await simplifier.deleteServerBusinessObjectFunction(businessObjectName, functionName, trackingKey);
      })
    });
  • Input schema validation using Zod for the required parameters: businessObjectName and functionName.
    {
      businessObjectName: z.string(),
      functionName: z.string()
    },
  • Tool registration using McpServer.tool() method, defining the tool name, description, input schema, metadata hints, and inline handler function.
    const toolNameBusinessObjectFunctionDelete = "businessobject-function-delete"
    server.tool(toolNameBusinessObjectFunctionDelete, `# Delete an existing Business Object Function`,
      {
        businessObjectName: z.string(),
        functionName: z.string()
      },
      {
        title: "Delete a Business Object Function",
        readOnlyHint: false,
        destructiveHint: true,
        idempotentHint: true,
        openWorldHint: false
      },
      async ({ businessObjectName, functionName }) => {
        return wrapToolResult(`Delete Business Object Function ${businessObjectName}.${functionName}`, async () => {
          const trackingKey = trackingToolPrefix + toolNameBusinessObjectFunctionDelete
          return await simplifier.deleteServerBusinessObjectFunction(businessObjectName, functionName, trackingKey);
        })
      });
  • Top-level registration call to registerServerBusinessObjectTools within registerTools, which includes the businessobject-function-delete tool.
    registerServerBusinessObjectTools(server, simplifier)
Behavior4/5

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

Annotations provide critical behavioral hints (destructiveHint: true, idempotentHint: true, readOnlyHint: false), but the description adds value by specifying that it deletes 'an existing' function, implying it requires pre-existence. It doesn't contradict annotations, and while it could mention more (e.g., permissions, side effects), it offers useful context beyond the structured data.

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 zero waste—it directly states the tool's purpose without unnecessary elaboration. Every word earns its place, 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 2 undocumented parameters, no output schema, and no sibling differentiation, the description is inadequate. It lacks details on parameter meanings, usage context, or expected outcomes, failing to compensate for the schema and annotation gaps.

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

Parameters2/5

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

With 0% schema description coverage for 2 parameters, the description fails to add any semantic meaning beyond what the bare schema provides. It doesn't explain what 'businessObjectName' or 'functionName' represent, their formats, or examples, leaving parameters largely undocumented.

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 resource ('an existing Business Object Function'), providing specific verb+resource pairing. However, it doesn't explicitly distinguish this tool from sibling tools like 'businessobject-delete' or 'businessobject-function-update', which would require a 5.

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?

The description provides no guidance on when to use this tool versus alternatives like 'businessobject-function-update' or 'businessobject-delete'. It lacks context about prerequisites, appropriate scenarios, or exclusions, offering only a basic statement of purpose.

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/simplifier-ag/simplifier-mcp'

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