Skip to main content
Glama
salesforce-mcp

salesforce-mcp

by uoparaji

salesforce_run_report

Execute a Salesforce report by its ID and return the results, optionally including detail rows or summary-only data.

Instructions

Execute a Salesforce report by its ID and return the results

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": {
      "reportId": "<reportId>"
    },
    "name": "salesforce_run_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
reportIdYesThe 15 or 18 character report ID
includeDetailsNoWhether to include detail rows (default true). Set false for summary only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it does little beyond 'return the results'. It does not say the operation is read-only, does not describe the result shape (columns plus rows), does not mention Salesforce's synchronous row caps or pagination, and does not warn about auth or permission failures. For a tool with zero annotation coverage this is a substantial gap.

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?

A single, front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is partly the source of the behavioral and return-value gaps noted elsewhere.

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?

The tool is simple (one required parameter, fully documented in the schema), but there is no output schema, so the description is the only place the return shape could be explained and it settles for 'the results'. Adequate for invocation, incomplete for interpreting what comes back.

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 schema already documents the reportId format (15 or 18 characters) and the includeDetails default of true and summary-only behavior. The description adds no 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?

The description states a specific verb plus resource ('Execute a Salesforce report') and adds the lookup key ('by its ID'), so the agent knows exactly what operation runs and what it acts on. It does not, however, name any sibling to contrast with, so the boundary with salesforce_describe_report or salesforce_query must be inferred from names alone.

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 guidance on when to choose this over salesforce_describe_report (report metadata) or salesforce_query (raw SOQL), and no mention of prerequisites such as needing an existing report ID or the permissions required to run reports. The agent gets what the tool does but not the conditions that select it.

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