Skip to main content
Glama
josemachado-vp

SF Assistant MCP Server

get_headcount

Aggregates employee counts by department, company, location, or other fields to analyze workforce distribution.

Instructions

Get headcount grouped by a specific field.

Aggregates employee counts by department, company, location, country, etc. Computed client-side since OData v2 doesn't support $apply/groupby.

Note: For large organizations, results are based on up to 5000 active employee records.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtersNo
group_byYesField to group by: 'department', 'company', 'division', 'location', 'countryOfCompany', 'employmentType', 'employeeClass'
data_centerNo
auth_user_idNo
auth_passwordNo
include_inactiveNoInclude terminated/inactive employees

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Discloses that results are based on up to 5000 active records and that computation is client-side due to OData limitations. However, without annotations, missing details on authentication, rate limits, or behavior when limits are exceeded.

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 concise, with the primary action stated in the first sentence. The client-side computation note and limit warning add essential context without unnecessary verbosity.

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?

Despite an output schema, the description omits key context for a 6-parameter tool: how to apply filters, use auth parameters, and what happens with large datasets. The limit disclosure is helpful but insufficient for full understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% (2 of 6 parameters described). The description repeats examples that already appear in the group_by parameter description but adds no meaning for filters, auth fields, or data_center. It does not compensate for the low coverage.

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 clearly states the tool retrieves headcount grouped by a specific field, with examples like department, company, location, country. It is distinct from sibling tools, which focus on individual records, analytics, or other aggregations.

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?

No explicit guidance on when to use this tool versus alternatives like search_employees or get_employee_profile. The note about client-side computation explains a limitation but does not advise on selection criteria or prerequisites.

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/josemachado-vp/MCP-SF'

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