Skip to main content
Glama

Hiring Fairness & Selection ROI

Hiring Fairness — Get Engine Script (large files)

hiring_fairness_get_engine
Read-only

For hiring files over 5,000 rows, or any ATS export already in your code sandbox. Returns a complete numpy-only Python script with the same engine as hiring_fairness; it reads the file, aggregates candidate rows to group counts on the spot (identifying columns are dropped), prints the decision cards and writes the group-level result to hiring_fairness_result.json. Pass other inputs (selection_ratio, annual_salary, reference_group ...) in params. Group-level output only: never scores or ranks individuals. No candidate data reaches this server on this path.

Input Schema

NameRequiredDescriptionDefault
paramsNoOther inputs exactly as hiring_fairness takes them (selection_ratio, annual_salary, reference_group ...).
data_kindNoWhat the file holds: one row per candidate, counts, or score pairs.candidates
data_pathNoFile in your sandbox (CSV/TSV/JSON).

Output Schema

NameRequiredDescriptionDefault
notesNo
scriptYes
languageNo
requiresNo
data_kindNo
data_pathNo
writes_fileNo
instructionsYes
engine_versionYes
scipy_requiredNo
data_requirementsNo
network_access_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: it explains that the returned script reads the file, aggregates rows to group counts, drops identifying columns, prints decision cards, writes hiring_fairness_result.json, and never sends candidate data to the server. It also reinforces the group-level-only constraint and no individual scoring or ranking.

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 front-loaded with the large-file and sandbox use case, then moves efficiently through return behavior, parameter passing, and privacy constraints. Every sentence adds operational value without repetition.

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

Completeness5/5

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

Given the tool's complexity, annotations, output schema, and fully documented parameters, the description is complete enough for an agent to select and invoke it correctly. It covers the large-file routing, script behavior, group-level output constraint, and data privacy handling.

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

Parameters4/5

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

Schema coverage is 100%, so the parameter baseline is 3, but the description adds meaning by explaining that selection_ratio, annual_salary, reference_group, and other inputs are passed through in params exactly as hiring_fairness takes them. It also clarifies that data_path is a CSV/TSV/JSON file in the sandbox.

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, returning a complete numpy-only Python script, and clearly scopes it to hiring files over 5,000 rows or ATS exports already in the sandbox. It also distinguishes this path from the sibling hiring_fairness tool by explaining it uses the same engine but handles large local files.

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 gives a clear usage condition: files over 5,000 rows or ATS exports already in the code sandbox. It does not explicitly say to use hiring_fairness for smaller files, but the threshold and sibling reference make the intended routing largely clear.

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.