Skip to main content
Glama
salesforce-mcp

salesforce-mcp

by uoparaji

salesforce_describe_report

Get a Salesforce report's metadata—columns, filters, groupings, and report type—by report ID to inspect its structure before querying or reusing it.

Instructions

Get metadata about a report — columns, filters, groupings, and report type

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

Input Schema

NameRequiredDescriptionDefault
reportIdYesThe 15 or 18 character report ID

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 carries the full burden. 'Get' signals a read-only operation and the enumeration of returned fields gives useful shape, but it says nothing about permissions, whether the report must be owned/shared with the caller, or behavior on invalid IDs.

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 sentence, front-loaded with the verb and resource, with the field enumeration as a compact trailing clause. No filler or redundant restatement.

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 read tool with no output schema, the description usefully enumerates the metadata it returns, which stands in for the missing output schema. The remaining gap is the absence of any safety or error-behavior framing, minor for a describe-style read.

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?

There is a single parameter with 100% schema description coverage ('The 15 or 18 character report ID'), so the schema already does the work. The description adds no further meaning about reportId format or constraints; baseline 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?

Specific verb ('Get metadata') plus resource ('a report') and it enumerates the metadata kinds returned: columns, filters, groupings, report type. This cleanly separates it from salesforce_run_report, which executes rather than describes, 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?

Usage is only implied: the agent must infer that this is the tool to call before running or interpreting a report. There is no explicit when-to-use statement, no prerequisites (e.g., that the report must already exist), and no exclusion pointing to run_report or list_reports.

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