Skip to main content
Glama
waaljair

MCP_Salesforce

by waaljair

search_leads

Search Salesforce leads using name, company, or other fields. Specify a limit to control the number of results returned.

Instructions

Search for Salesforce leads by name, company, or other criteria

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return (default: 10)
queryYesSearch query for lead name, company, or other fields
Behavior2/5

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

No annotations are available, so the description must disclose behavioral traits. It does not mention match type (fuzzy/exact), ordering, pagination, field coverage beyond vague 'other criteria', or response format. This is a significant 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?

The description is a single, front-loaded sentence with no wasted words. It is appropriately concise, though it sacrifices useful detail by being so brief.

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

Completeness2/5

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

With no output schema and no annotations, the description should explain what the tool returns or any special behaviors. It does not specify result format, error handling, or lead scope, leaving the agent under-informed.

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% for both parameters. The description's 'name, company, or other criteria' largely repeats the schema's own description of the query parameter, adding minimal new semantic value.

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 clearly identifies the tool as searching Salesforce leads, with a specific verb ('Search') and resource ('leads'). It distinguishes from sibling tools by targeting the leads object, though it doesn't differentiate it from search_all_records.

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?

The context implies use when searching for leads, but there is no explicit guidance on when to use this tool versus alternatives like search_accounts or when not to use it. Lacks explicit boundary-setting.

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/waaljair/MCP_Salesforce'

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