Skip to main content
Glama

BRAINIAC Global Employment Rules

Calculate UK gender pay gap figures

global-employment_gender-pay-gap-calc
Read-onlyIdempotent

Compute UK gender pay gap mean, median, bonus, bonus proportion, quartile, headcount, and reporting-threshold figures from caller-supplied employee-level data. Docs: https://www.brainiac.software/api/global-employment/gender-pay-gap-calc Keywords: before you hire or engage a worker in a country, snapshotDate, employees, meanHourlyGapPct, medianHourlyGapPct, meanBonusGapPct, medianBonusGapPct, receivingBonusPct, quartiles, headcount, reportingRequired, Calculate UK gender pay gap figures, gender pay gap calc.

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": {
      "snapshotDate": "<snapshotDate>",
      "employees": "<employees>"
    },
    "name": "global-employment_gender-pay-gap-calc"
  }
}

Input Schema

NameRequiredDescriptionDefault
employeesYesemployees, array. Required.
snapshotDateYessnapshotDate, string. Required.

Output Schema

NameRequiredDescriptionDefault
sourcesNosources. Array.
headcountNoheadcount. Number.
quartilesNoquartiles. Array.
limitationsNolimitations. Array.
meanBonusGapPctNomeanBonusGapPct. Null.
meanHourlyGapPctNomeanHourlyGapPct. Number.
medianBonusGapPctNomedianBonusGapPct. Null.
receivingBonusPctNoreceivingBonusPct. Object.
reportingRequiredNoreportingRequired. Boolean.
medianHourlyGapPctNomedianHourlyGapPct. Number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / limitations / items / description
      Previous value: -"Item. String."New value: +"item. String."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds one useful behavior fact, that all figures come from caller-supplied employee data rather than an external lookup, but says nothing about error/validation behavior (e.g. what happens below the reporting headcount threshold) or how the reportingRequired flag is decided.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The leading sentence is well front-loaded and informative, but the trailing 'Keywords:' block is roughly half the text and mostly restates the tool name, the title, and parameter names already present in the schema. That SEO-style padding dilutes the definition rather than adding information.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the description does not need to enumerate them. For a statutory calculation with non-obvious input semantics (snapshot date rules, full-pay relevance, bonus fields), however, the definition leaves the agent without guidance on input validity or expected failure modes.

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 both top-level parameters are documented structurally. The description adds only marginal meaning beyond the schema: it confirms employees is employee-level data, but it does not explain that snapshotDate follows the UK statutory snapshot rule (5 April) or what fullPayRelevant does to inclusion in the mean/median, which are the non-obvious inputs.

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 first sentence states a specific verb ('Compute') plus a specific resource ('UK gender pay gap mean, median, bonus, bonus proportion, quartile, headcount, and reporting-threshold figures') and the input source ('caller-supplied employee-level data'). Nothing overlaps with the sibling tools (statutory redundancy pay, us overtime, notice period, working time check), so an agent can select it unambiguously.

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: it is a UK statutory gender pay gap reporting calculation over employee-level records, which suggests the reporting-cycle context. There is no explicit when-to-use, when-not, or comparison to the sibling tools, and the 'before you hire or engage a worker in a country' keyword line is generic boilerplate that does not route the agent anywhere useful.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources