Skip to main content
Glama
salesforce-mcp

salesforce-mcp

by uoparaji

salesforce_describe_tooling_object

Retrieves metadata, such as available fields, for a Tooling API sObject. Use it to discover which fields you can query before writing tooling queries.

Instructions

Get metadata (fields, etc.) for a Tooling API sObject. Use this to discover what fields are available for tooling queries.

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_tooling_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectNameYesThe Tooling API sObject name (e.g. ApexClass, FlowDefinition, ValidationRule)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. 'Get' implies a non-destructive read, but the description says nothing about permissions, payload size, rate limits, or what happens with an invalid object name — meaningful gaps for a metadata call whose output can be large.

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?

Two short, front-loaded sentences with no filler. The second sentence slightly restates the first ('fields' / 'what fields are available') rather than adding new information, which keeps it just short of a 5.

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

Completeness4/5

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

For a one-parameter describe tool with no output schema and no annotations, the description covers purpose, the input domain, and the intended use case. The main omission is any hint at the shape or size of the returned metadata, which matters when no output schema exists.

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?

The single objectName parameter is fully documented in the schema, including concrete examples (ApexClass, FlowDefinition, ValidationRule). The description adds nothing about the parameter beyond what the schema already provides, so the baseline 3 for high schema coverage 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, etc.) for a Tooling API sObject.' The 'Tooling API' qualifier implicitly separates it from the sibling salesforce_describe_object, though the description never names that alternative, so differentiation is left partly to inference.

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

Usage Guidelines4/5

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

'Use this to discover what fields are available for tooling queries' gives a clear use case and ties the tool to the tooling-query workflow. It lacks an explicit exclusion (e.g., use salesforce_describe_object for standard sObjects instead), so it falls short of a full when/when-not statement.

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