Skip to main content
Glama

Hire an applicant

hire

Hire the applicant the person chose. Creates a contract (other applicants are declined). Returns PENDING APPROVAL when the price exceeds what the person pre-authorized. Then call fund_contract.

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": {
      "job_id": "<job_id>",
      "application_id": "<application_id>"
    },
    "name": "hire"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
application_idYes
scheduled_start_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, non-destructive, open-world write; the description goes further by disclosing the side effect on other applicants, the conditional PENDING APPROVAL state tied to price authorization, and the required next call. Missing details are whether the hire is reversible or how to retry if approval is pending.

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?

Four short sentences, front-loaded with the action, then consequences, then the conditional exception, then the next step. Nothing is redundant and the branching outcome is easy to scan.

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 mutable tool with no output schema, the description supplies the key return state (PENDING APPROVAL) and the downstream call, which is what an agent most needs. The remaining gap is that the three inputs, including the optional scheduled start time, are left entirely to the schema.

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 description coverage is 0% for three parameters, so the description carries the full burden — yet it never explains job_id, application_id, or especially scheduled_start_at, whose format and semantics are entirely undocumented. Only a weak hint exists ("the applicant the person chose") linking application_id to the selected applicant.

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?

Names a specific verb and resource ("Hire the applicant") and states the concrete outcome: a contract is created and other applicants are declined. That immediately separates it from decline_applicant and shortlist_applicant, and the explicit hand-off to fund_contract makes the sequence unambiguous.

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 clear when-to-use context ("the applicant the person chose") and an explicit follow-up instruction ("Then call fund_contract"), plus the pre-authorization branch that produces PENDING APPROVAL. It stops short of stating exclusions, e.g. when not to hire directly or how to handle an already-hired applicant.

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