Skip to main content
Glama

Recalculate position scores

recalculate_job_scores
Destructive

Re-score the candidates of a job position against its current evaluation criteria. Until it runs after a criteria change, every score in that position's pipeline reflects the previous criteria. The run is asynchronous and limited to one per position per hour. It is refused while another run is in progress, during the cooldown, when the criteria have not changed since the last run, or when no candidate has an outdated score; the refusal states which.

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": {
      "jobDescriptionId": "<jobDescriptionId>"
    },
    "name": "recalculate_job_scores"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobDescriptionIdYesThe job position whose candidates should be re-scored

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond annotations (destructive, non-idempotent, open-world), it discloses that the run is asynchronous, throttled to one per position per hour, and refused under four enumerated conditions with the reason returned. It stops short of saying what happens to the prior scores (overwritten or retained) and how completion is observed, which matters for a destructiveHint=true tool.

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?

Three sentences, front-loaded with the action, then the motivation, then the operational constraints. Every clause carries information an agent needs; nothing is redundant with the title or schema.

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 one-parameter mutation with no output schema, the description covers the async nature, rate limit, and refusal reasons — the main risks. The remaining gap is the absence of a pointer to the status-checking sibling and to how prior scores are affected.

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 coverage is 100% and the single parameter's schema description already defines it as the position whose candidates should be re-scored. The description adds no syntax, format, or ID-source guidance beyond that, so the baseline 3 applies.

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?

States a specific verb+resource+scope: 'Re-score the candidates of a job position against its current evaluation criteria.' It is clearly distinguishable from read-only siblings like get_job_score_recalculation_state and get_candidates_with_scores, since it describes an action on a whole position rather than a retrieval.

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?

Gives a clear trigger condition — run it after a criteria change, because all existing pipeline scores otherwise reflect the previous criteria. It does not name the natural companion tool get_job_score_recalculation_state for checking run status, which would have made the routing guidance explicit, so it falls short of a 5.

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