Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Get Org Limits and Usage

sf_get_org_limits
Read-onlyIdempotent

Check current API and governor limit usage in your Salesforce org. Get remaining, max, and percent used for all limits to monitor capacity before bulk operations.

Instructions

Retrieves current API and governor limit usage for the org via the Salesforce Limits REST API. Returns all limits with their current usage and maximum allowed values.

Useful for:

  • Checking API call usage before running bulk operations

  • Monitoring storage (data/file) usage

  • Checking concurrent Apex job limits

  • Reviewing email delivery limits

  • Auditing active sessions

Returns an array of { name, remaining, max, percentUsed } sorted by percent used (most consumed first).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoOptional filter string — return only limits whose name contains this text (e.g. 'Api', 'Storage', 'Scratch')
Behavior4/5

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

Annotations already establish the read-only, idempotent nature. The description adds behavioral detail beyond annotations: it returns all limits sorted by percent used, and describes the output fields (name, remaining, max, percentUsed). It doesn't mention error cases or response size, but for a safe read tool this is sufficient.

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?

The description is compact: two sentences plus a bulleted use-case list. It front-loads the main action, then adds useful context without redundancy.

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?

Given the simple read-only nature, rich annotations, and complete parameter schema, the description covers the essential return format and use cases. It doesn't discuss edge cases like filtering case-sensitivity or empty responses, but these are minor gaps for this tool.

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 coverage is 100% (the single optional 'filter' parameter is described in the schema). The description itself doesn't elaborate on the filter behavior; it only says 'Returns all limits,' while the schema already documents the substring match. Baseline 3 applies.

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 opens with a specific action ('Retrieves current API and governor limit usage') and names the resource ('Salesforce Limits REST API'), clearly distinguishing it from the creation/management tools in the sibling list. It also states the exact return type.

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?

The 'Useful for' list provides explicit scenarios (checking API call usage, monitoring storage, etc.) that tell an agent when to invoke this tool. It lacks explicit exclusions or named alternatives, so it doesn't reach 5.

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/semwalajay83-sem/salesforce-metadata-mcp'

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