Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Delete SObject Record

sf_delete_record
Destructive

Delete a single Salesforce record permanently by ID. Provide the object API name and record ID; the record moves to the Recycle Bin for supported objects, recoverable within 15 days.

Instructions

Deletes a single SObject record by record ID via the Salesforce REST API. The deletion is permanent and cannot be undone (the record goes to the Recycle Bin for objects that support it, from where it can be undeleted within 15 days).

Provide the object API name and the 15 or 18 character record ID. For bulk deletions (100+ records), use sf_bulk_import_records with operation='delete'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
recordIdYes15 or 18 character Salesforce record ID
objectApiNameYesSObject API name, e.g. 'Account'
Behavior5/5

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

Beyond annotations (destructiveHint=true), the description adds critical context: deletion is permanent, goes to Recycle Bin for supporting objects, and can be undeleted within 15 days. This adds value beyond the structured hints.

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 concise, front-loaded with the main function, and every sentence earns its place—core operation, input guidance, and bulk alternative. No fluff.

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 tool, the description covers behavior, inputs, and alternatives. Annotations and schema handle safety and parameter details, so no gaps remain.

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 baseline is 3. The description repeats the parameter requirements (object API name, 15 or 18 character record ID) but adds no new semantic meaning beyond the schema descriptions.

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

Purpose5/5

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

The description states a specific verb and resource: 'Deletes a single SObject record by record ID via the Salesforce REST API.' It clearly distinguishes from bulk deletion tools by explicitly saying 'single' and naming the alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use and alternative: 'For bulk deletions (100+ records), use sf_bulk_import_records with operation='delete'.' It also clarifies the required inputs (object API name and record ID).

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/semwalajay83-sem/salesforce-metadata-mcp'

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