Skip to main content
Glama
adamcmyhre

Salesforce MCP Pro

by adamcmyhre

sf_tooling_query

Execute SOQL queries against Salesforce Tooling API objects to inspect metadata, Apex, and development configuration.

Instructions

Run a SOQL query against Salesforce Tooling API objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
directoryNo
targetOrgNo
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states that a query is run, but does not mention read-only nature, side effects, rate limits, or return format. As a query tool, it is likely safe, but this is not disclosed.

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 a single, concise sentence with no redundant words. It is front-loaded with the action and resource. However, it is so brief that it lacks substantive content, though this is a correctness issue, not a conciseness flaw.

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

Completeness1/5

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

For a tool with 3 parameters and no output schema or annotations, this description is severely incomplete. It does not explain the query syntax, the purpose of directory/targetOrg, or what the return value looks like. The tool cannot be correctly invoked based on this description alone.

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

Parameters1/5

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

Schema description coverage is 0%, and the description provides no parameter-level meaning. The query parameter is implied by the description, but directory and targetOrg are completely unexplained. The description does not compensate for the missing schema documentation.

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 the action ('Run a SOQL query') and the target resource ('Salesforce Tooling API objects'), distinguishing it from sibling tools like sf_query_org that target the standard API. The verb 'Run' and noun 'query' are specific, and 'Tooling API' differentiates it from other query tools.

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 usage guidance is provided. There is no mention of when to use this tool versus alternatives such as sf_query_org, sf_search_org, or sf_execute_named_query. The description implies the tool is for Tooling API queries but does not state exclusions or alternatives.

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/adamcmyhre/Salesforce-MCP-Pro'

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