Skip to main content
Glama

Open, draft or archive a hiring project

set_project_state
Idempotent

Move a hiring project between active, draft and archived. draft takes its job post off the job board and closes its link; archived hides the project and closes the job link; active brings it back. Switching off a job post or moving its project to draft or archived does not reliably stop invitations or reminders. An automatic invitation triggered by an application may still be sent; reminders may still go out, although some invitations and reminders may be held. Candidate data is kept in every case, and invitations already sent keep working. It can be moved back at any time. Only an Owner or Admin can do this.

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": {
      "id": "<id>",
      "status": "<status>"
    },
    "name": "set_project_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe hiring project id (from list_projects).
statusYesThe state to move the project to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Substantial disclosure beyond the annotations: it warns that invitations and reminders may still fire after draft/archive, that candidate data is preserved, that already-sent invitations keep working, that the change is reversible, and that only Owner/Admin can perform it. These side effects and the authorization requirement are exactly what annotations cannot convey, and nothing contradicts destructiveHint=false or idempotentHint=true.

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 action is front-loaded, followed by per-state semantics and then caveats, which is a sensible order. There is mild redundancy in the near-parallel 'closes its link' / 'closes the job link' phrasing and in the loosely worded 'It can be moved back at any time', but no sentence is pure filler.

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?

For a two-parameter mutation with no output schema, the definition covers state semantics, side effects on invitations/reminders, data retention, reversibility, and permissions. An agent has everything needed to decide whether to call it and what to expect.

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 baseline is 3, but the description adds real meaning for the status enum values that the schema only labels generically ('The state to move the project to'). The id parameter is left entirely to the schema, which already documents it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ('Move a hiring project') plus the exact state domain (active, draft, archived). It does not differentiate itself from the sibling change_status, which an agent could plausibly confuse with this state-changing tool.

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 explains what each target state does (draft removes the job post from the board, archived hides the project, active restores it), which gives clear context for choosing a value. It stops short of explicit when-not guidance or naming an alternative tool for adjacent operations.

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