Skip to main content
Glama
salesforce-mcp

salesforce-mcp

by uoparaji

salesforce_describe_object

Retrieve metadata, including fields and relationships, for a Salesforce sObject to understand its schema before querying or modifying records.

Instructions

Get metadata (fields, relationships, etc.) for a Salesforce sObject

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "objectName": "<objectName>"
    },
    "name": "salesforce_describe_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectNameYesAPI name of the sObject (e.g. Account, Contact)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Get' implies a read-only, non-destructive operation, which is useful, but it says nothing about permission requirements, whether the call is rate-limited, or what happens for an invalid object name.

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

Conciseness4/5

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

One front-loaded sentence with no filler or repetition. It is efficient, though slightly terse given the room available for clarifying scope.

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

Completeness3/5

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

For a simple one-parameter introspection tool this is roughly adequate, and 'fields, relationships, etc.' hints at the returned shape. With no output schema, however, the agent still cannot tell whether the response includes field types, picklist values, or child relationship details.

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% and the single objectName parameter already documents the expected API-name format with examples (Account, Contact). The description adds no additional parameter meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource: 'Get metadata (fields, relationships, etc.) for a Salesforce sObject'. The parenthetical enumerates what metadata means, so an agent knows this is a schema-introspection call rather than a data query. It does not explicitly contrast with the sibling salesforce_describe_tooling_object, so it stops short of 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?

There is no explicit when-to-use guidance, no mention of prerequisites (does the object need to exist? does it cover custom objects?), and no named alternatives such as salesforce_list_objects or salesforce_describe_tooling_object. Usage is only inferable from the purpose itself.

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