Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Add User to Queue

sf_assign_queue_member

Add users or roles to an existing Salesforce queue using queue DeveloperName, enabling record assignment and queue notification emails.

Instructions

Adds a user to an existing Queue (GroupMember SObject) by username and queue DeveloperName. The queue must already exist (create via sf_create_queue). Users in queues can be assigned records and receive queue notification emails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rolesNoRole API names to add to the queue (adds all users in the role)
usersNoUsernames to add to the queue
queueDeveloperNameYesQueue developer name (DeveloperName field on Group), e.g. 'Support_Tier1'
Behavior3/5

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

Annotations already indicate write behavior (readOnlyHint=false) and non-idempotency. The description adds useful context about the prerequisite and notification effects. However, it doesn't clarify behavior for adding roles vs. users, duplicate members, or error handling when the queue/user doesn't exist.

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 two sentences with no fluff. It front-loads the core action and provides only essential context. Every sentence earns its place.

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 simple mutation tool with no output schema and moderate parameters, the description covers the purpose, prerequisite, and practical implications. It lacks details on edge cases (duplicate members, nonexistent queue/user) but is otherwise sufficient for an agent to select and invoke the 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 description coverage is 100%, so parameters are already documented. The description mentions 'by username and queue DeveloperName' but doesn't add meaningful detail beyond the schema. It doesn't clarify whether users and roles can be combined or how they interact.

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 states a specific action: 'Adds a user to an existing Queue (GroupMember SObject) by username and queue DeveloperName.' It clearly identifies the resource (Queue/GroupMember) and the method, distinguishing it from sibling tools like sf_create_queue.

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 description provides a key prerequisite: 'The queue must already exist (create via sf_create_queue).' This gives clear context on when to use the tool and points to an alternative for creation. It also explains the downstream effect (record assignment and notifications), aiding decision-making.

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