Skip to main content
Glama
salesforce-readonly

salesforce-readonly

describe_object

Retrieve sObject schema details—fields, types, required flags, picklist values, and relationships—to understand Salesforce data structures and build accurate SELECT-only queries.

Instructions

Describes an sObject: fields, types, required flags, picklist values and relationships.

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": "describe_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the return payload in useful detail (fields, types, required flags, picklist values, relationships), which compensates somewhat, but it never states that this is a read-only, non-mutating call, nor how it behaves for invalid or inaccessible object names.

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?

One front-loaded sentence with zero filler, and the enumeration of returned metadata is packed into the same clause rather than padded out. Nothing is wasted or buried.

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 one-parameter read tool with no annotations and no output schema, the description covers the return shape well but leaves the parameter underspecified and never confirms the read-only nature of the call. Adequate, but short of complete given it is the sole documentation source.

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 0%, so the single objectName parameter is documented nowhere. The name is largely self-explanatory and the schema pattern hints at the accepted character set, but the description adds nothing about API name vs. label, case sensitivity, or namespaced custom objects (__c).

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 (Describes) and resource (sObject) and enumerates what is returned: fields, types, required flags, picklist values and relationships. This makes it clearly a metadata-introspection tool, distinguishable in kind from get_record, run_soql and whoami, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no mention of the obvious prerequisite workflow (describe an object before writing SOQL or constructing a record). Usage is only implied by the purpose statement, so an agent must infer the sequencing itself.

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

Deploy Server

Other Tools