Skip to main content
Glama
career-agent

career-agent

by maraMoreir

update_application_status

Change a job application's status while enforcing the required approval workflow; prevents skipping from pending approval to applied and records an optional note.

Instructions

Altera o status de uma candidatura, respeitando a maquina de estados.

Fluxo: pending_approval -> approved -> applied -> interview / technical_test -> offer. rejected e withdrawn sao finais.

GARANTIA DE SEGURANCA: nao existe caminho de pending_approval direto para applied. Toda candidatura precisa passar por approved, que so acontece quando a usuaria pede. Se ela disser "aprove a candidatura X", use status=approved.

Args: application_id: ID da candidatura (formato app-xxxxxxxxxx). status: novo status. note: observacao livre, guardada no historico.

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": {
      "application_id": "<application_id>",
      "status": "<status>"
    },
    "name": "update_application_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
statusYes
application_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does so well: it discloses the state machine, which states are terminal (rejected/withdrawn), and a hard safety guarantee that pending_approval cannot jump to applied. It omits permissions/auth and error behavior, so not a 5.

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?

Front-loads purpose, then the transition flow, then the safety guarantee, then per-argument notes, which is a sensible escalation. Slightly verbose prose and some repetition of the approved-required rule, but each section earns its place.

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?

An output schema exists so return values need not be explained, and the description covers scope, valid transitions, the safety invariant, and all three parameters. What remains unstated is failure behavior (e.g., what an invalid transition returns) and permission requirements.

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?

With 0% schema coverage the description must compensate, and it does: it specifies the application_id format (app-xxxxxxxxxx), defines status as the new status with the valid value set implied by the flow, and explains note as free text stored in history. Status values are not listed as an explicit enum, leaving a small gap.

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 and resource ('Altera o status de uma candidatura') and immediately pins the scope to the state-machine constraint. An agent can tell exactly what this mutates versus read-only siblings like get_application or list_applications.

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 concrete usage context: the valid transition flow and an explicit instruction for the trigger phrase 'aprove a candidatura X' → status=approved. It does not name alternatives or describe when a different tool should be used, so it stops short of a full when/when-not map.

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