Skip to main content
Glama
Oliviergg

mcp-salesforce

by Oliviergg

get_record

Retrieve a Salesforce record by providing the object name and record ID.

Instructions

Retrieves a specific record by ID. Args: object_name: The name of the Salesforce object (e.g., 'Account', 'Contact') record_id: The ID of the record to retrieve

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_nameYes
record_idYes
Behavior3/5

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

With no annotations, the description carries full responsibility. It discloses the retrieval action but does not mention error handling, field selection, or whether it returns all fields. For a simple get-by-ID, this is moderately acceptable but lacks deeper behavioral detail.

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?

The description is concise with two sentences and an Args section. It is front-loaded with the main action. However, the Args section could be integrated more smoothly, and there is no structural hierarchy. Still, it is efficient and clear.

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 retrieval tool with no output schema and minimal parameters, the description is fairly complete. It explains the parameters but does not cover return format or error scenarios. Given the low complexity, it meets a minimum viable level but could add more context about potential issues or limitations.

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

Parameters4/5

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

The schema has 0% description coverage, so the description must add meaning. It specifies that object_name is 'The name of the Salesforce object' and record_id is 'The ID of the record to retrieve,' which goes beyond the schema's property titles. This adequately compensates for the lack of 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 clearly states 'Retrieves a specific record by ID,' using a specific verb and resource. It distinguishes from sibling tools like create_record, delete_record, update_record, which have different actions.

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 vs alternatives, such as run_soql_query or get_sobject_fields. The description only states what it does, without context on limitations or when not to use it.

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/Oliviergg/mcp-salesforce'

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