Skip to main content
Glama

Sf Delete Record

sf_delete_record
DestructiveIdempotent

Delete a Salesforce record by ID. Specify object type and record ID. Returns success status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSalesforce record ID
objectYesSObject type (e.g., "Account")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoError code if deletion failed
messageNoError message if deletion failed
successNoWhether record was deleted successfully

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "error": {
      +      "description": "Error code if deletion failed",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "Error message if deletion failed",
      +      "type": "string"
      +    },
      +    "success": {
      +      "description": "Whether record was deleted successfully",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "001xx000003DHP",
      +    "object": "Account"
      +  },
      +  {
      +    "id": "003xx000004TM1",
      +    "object": "Contact"
      +  }
      +]
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the description's mention of 'Delete' is consistent. It adds 'Returns success status,' which is useful but minimal. No contradiction.

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?

Single sentence, 12 words, no unnecessary information. Efficiently communicates the core action.

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

Completeness5/5

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

For a simple delete operation with full annotations and output schema, the description is complete. It covers action, parameters, and return type sufficiently.

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 coverage is 100%, so the description's mention of 'ID' and 'object type' aligns with schema but adds no additional meaning beyond the parameter names.

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 a Salesforce record by ID, specifying the action and resource. It is specific but does not differentiate from sibling tools like sf_update_record, which also uses IDs.

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 on when to use this tool versus alternatives (e.g., sf_update_record for soft delete, sf_query for retrieval). The description is too brief to convey context for selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.