Skip to main content
Glama

Apply to a job

apply_to_job
DestructiveIdempotent

Sends one real application to one job on the employer's site, only after the user said yes to this job in the conversation, and uses one application from the account's allowance. Requires the confirmation_token preview_application returned for this job. A job already applied to, or sent with an uncertain outcome, is never sent again. A posting held on an employer account that is connected now is woken and reported as applying (status queued, no hold, poll suggested) instead of returning the old hold.

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>",
      "confirmation_token": "<confirmation_token>"
    },
    "name": "apply_to_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesA job id from search_jobs, get_job_from_link or list_applications.
idempotency_keyNoRepeating a call with the same key and arguments returns its first result instead of acting again.
confirmation_tokenYesFrom preview_application for this job.

Output Schema

NameRequiredDescriptionDefault
idYesThe job id of this application.
holdNoWhat the employer waits on before this application can go on, when it waits on something ApplySent recognizes.
stepYesWhere the application stands in ApplySent's pipeline, e.g. preparing_application, needs_answer or sent.
stageNoThe hiring stage the employer's messages established (applied, interview, offer, rejected), when known.
titleNoThe posting's title, when the ledger has it.
reviewNoHow far the review of this application has come.
statusYesThe application's ledger status, e.g. queued, submitted, uncertain or failed.
answersNoThe answers this application sends.
companyNoThe employer's name, when the ledger has it.
receiptNoThe employer's confirmation of this application, or null when none was recorded.
waitingNoSet while the background worker is on this application right now.
retry_atNoWhen ApplySent retries a blocked application, ISO 8601.
apply_urlNoThe employer's posting URL.
uncertainYesTrue when the send went out without a confirmed receipt; ApplySent never sends such a job again.
recorded_atNoWhen the user started this application, ISO 8601.
answer_batchesNoThe open question batches this application waits on.
review_reasonsNoWhy the application waits for the user's review.
not_sent_reasonNoWhy a failed application was not sent, when ApplySent refused it.
poll_after_secondsNoSeconds to wait before reading this application again; null when nothing will change by itself.
suggested_next_toolYesThe tool that answers what this application needs next.
missing_prerequisitesNoWhat still stops this application from being sent, in words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedOutput schema / properties / answer_batches / items / properties / questions / items / properties / options / description
      Previous value: -"The options the form offers; empty for a free-text question."New value: +"The options the form offers; empty for an open-text question."
    • changedOutput schema / properties / hold / description
      Previous value: -"What the employer waits on before this application can go on, when it waits on something Applysent recognizes."New value: +"What the employer waits on before this application can go on, when it waits on something ApplySent recognizes."
    • changedOutput schema / properties / not_sent_reason / description
      Previous value: -"Why a failed application was not sent, when Applysent refused it."New value: +"Why a failed application was not sent, when ApplySent refused it."
    • changedOutput schema / properties / retry_at / description
      Previous value: -"When Applysent retries a blocked application, ISO 8601."New value: +"When ApplySent retries a blocked application, ISO 8601."
    • changedOutput schema / properties / step / description
      Previous value: -"Where the application stands in Applysent's pipeline, e.g. preparing_application, needs_answer or sent."New value: +"Where the application stands in ApplySent's pipeline, e.g. preparing_application, needs_answer or sent."
    • changedOutput schema / properties / uncertain / description
      Previous value: -"True when the send went out without a confirmed receipt; Applysent never sends such a job again."New value: +"True when the send went out without a confirmed receipt; ApplySent never sends such a job again."
  2. Changed43 schema fields changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Optional. Repeating a call with the same key and arguments returns its first result instead of acting again."New value: +"Repeating a call with the same key and arguments returns its first result instead of acting again."
    • addedOutput schema / description
      Added value: +"One application: where it stands, what it waits on and what to do next."
    • addedOutput schema / properties / answer_batches / description
      Added value: +"The open question batches this application waits on."
    • addedOutput schema / properties / answer_batches / items / description
      Added value: +"A batch of open questions the employer's form raised for this application."
    • addedOutput schema / properties / answer_batches / items / properties
      Added value: +{
      +  "id": {
      +    "description": "The batch id answer_question takes as batch_id.",
      +    "type": "integer"
      +  },
      +  "questions": {
      +    "description": "The questions this batch asks.",
      +    "items": {
      +      "description": "One open question of this batch.",
      +      "properties": {
      +        "kind": {
      +          "description": "The answer kind the form expects, e.g. text, choice or file.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "options": {
      +          "description": "The options the form offers; empty for a free-text question.",
      +          "items": {
      +            "description": "One offered option.",
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "prompt": {
      +          "description": "The employer's question, in words.",
      +          "type": "string"
      +        },
      +        "required": {
      +          "description": "Whether the form requires an answer.",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "prompt"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "revision": {
      +    "description": "The batch revision these questions belong to.",
      +    "type": "integer"
      +  }
      +}
    • addedOutput schema / properties / answer_batches / items / required
      Added value: +[
      +  "id",
      +  "questions"
      +]
    • addedOutput schema / properties / answers / description
      Added value: +"The answers this application sends."
    • addedOutput schema / properties / answers / items / description
      Added value: +"One answer this application sends."
    • addedOutput schema / properties / answers / items / properties
      Added value: +{
      +  "answer": {
      +    "description": "The answer the application sends, as the user gave it.",
      +    "type": "string"
      +  },
      +  "question": {
      +    "description": "The employer's question as it was asked.",
      +    "type": "string"
      +  },
      +  "source": {
      +    "description": "Where the answer came from, such as the profile field it was taken from.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedOutput schema / properties / answers / items / required
      Added value: +[
      +  "question",
      +  "answer"
      +]
    • addedOutput schema / properties / apply_url / description
      Added value: +"The employer's posting URL."
    • changedOutput schema / properties / apply_url / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • addedOutput schema / properties / company / description
      Added value: +"The employer's name, when the ledger has it."
    • addedOutput schema / properties / hold / description
      Added value: +"What the employer waits on before this application can go on, when it waits on something Applysent recognizes."
    • addedOutput schema / properties / hold / properties
      Added value: +{
      +  "kind": {
      +    "description": "The kind of hold, e.g. account_required or account_creation_required.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "message": {
      +    "description": "The hold in words, for the user.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedOutput schema / properties / hold / required
      Added value: +[
      +  "kind",
      +  "message"
      +]
    • addedOutput schema / properties / id / description
      Added value: +"The job id of this application."
    • addedOutput schema / properties / missing_prerequisites / description
      Added value: +"What still stops this application from being sent, in words."
    • addedOutput schema / properties / missing_prerequisites / items / description
      Added value: +"One thing still missing."
    • addedOutput schema / properties / not_sent_reason / description
      Added value: +"Why a failed application was not sent, when Applysent refused it."
    • addedOutput schema / properties / not_sent_reason / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / poll_after_seconds / description
      Added value: +"Seconds to wait before reading this application again; null when nothing will change by itself."
    • addedOutput schema / properties / receipt / description
      Added value: +"The employer's confirmation of this application, or null when none was recorded."
    • addedOutput schema / properties / receipt / properties
      Added value: +{
      +  "evidence": {
      +    "description": "The evidence the confirmation rests on.",
      +    "type": "string"
      +  },
      +  "job_ref": {
      +    "description": "The reference the employer's system gave the submission.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "kind": {
      +    "description": "What the confirmation is, e.g. a submission page or an employer email.",
      +    "type": "string"
      +  },
      +  "observed_at": {
      +    "description": "When the confirmation was observed, ISO 8601.",
      +    "type": "string"
      +  },
      +  "packet_revision": {
      +    "description": "The packet revision that was sent.",
      +    "type": [
      +      "integer",
      +      "null"
      +    ]
      +  },
      +  "provider": {
      +    "description": "The hiring system that confirmed the submission.",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / receipt / required
      Added value: +[
      +  "provider",
      +  "kind",
      +  "evidence",
      +  "observed_at"
      +]
    • addedOutput schema / properties / recorded_at / description
      Added value: +"When the user started this application, ISO 8601."
    • addedOutput schema / properties / recorded_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / retry_at / description
      Added value: +"When Applysent retries a blocked application, ISO 8601."
    • addedOutput schema / properties / review / description
      Added value: +"How far the review of this application has come."
    • addedOutput schema / properties / review / properties / answers_filled / description
      Added value: +"How many answers the application holds."
    • addedOutput schema / properties / review / properties / details_needed / description
      Added value: +"The employer questions still waiting on the user."
    • addedOutput schema / properties / review / properties / details_needed / items / description
      Added value: +"One question waiting on the user."
    • addedOutput schema / properties / review / properties / line / description
      Added value: +"The same in one sentence, for the user."
    • addedOutput schema / properties / review_reasons / description
      Added value: +"Why the application waits for the user's review."
    • addedOutput schema / properties / review_reasons / items / description
      Added value: +"One reason the application waits for the user."
    • addedOutput schema / properties / stage / description
      Added value: +"The hiring stage the employer's messages established (applied, interview, offer, rejected), when known."
    • addedOutput schema / properties / stage / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / status / description
      Added value: +"The application's ledger status, e.g. queued, submitted, uncertain or failed."
    • addedOutput schema / properties / step / description
      Added value: +"Where the application stands in Applysent's pipeline, e.g. preparing_application, needs_answer or sent."
    • addedOutput schema / properties / suggested_next_tool / description
      Added value: +"The tool that answers what this application needs next."
    • addedOutput schema / properties / title / description
      Added value: +"The posting's title, when the ledger has it."
    • addedOutput schema / properties / uncertain / description
      Added value: +"True when the send went out without a confirmed receipt; Applysent never sends such a job again."
    • addedOutput schema / properties / waiting / description
      Added value: +"Set while the background worker is on this application right now."
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=true, and the description adds context beyond them: it consumes one unit of the account's application allowance, it sends to a third-party employer site, and it describes the edge case where a posting held on a connected employer account is woken and returned as status queued with no hold plus a poll suggestion. That is materially more than the annotations carry.

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 and its precondition are front-loaded, then the allowance and deduplication rules follow. It is a single dense sentence, and the trailing parenthetical about 'status queued, no hold, poll suggested' is jargon-heavy, but every clause carries operational meaning.

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 destructive, open-world mutation, it covers the authorization prerequisite, the allowance cost, the no-duplicate rule and the hold-wake edge case, and an output schema exists so return values need no explanation. Nothing needed to call it correctly is missing.

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 schema already documents all three parameters. The description still reinforces the per-job binding of confirmation_token and the deduplication semantics, which slightly exceeds the baseline of 3, though it adds no format or validation detail beyond that.

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 concrete verb and resource: sends one real application to one job on the employer's site. It is clearly distinct from preview_application (preview vs. real send) and from queue_application_for_review, so an agent can pick it out without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit preconditions: it runs only after the user says yes to this job in the conversation, and it requires the confirmation_token that preview_application returned for that job. It also states that a job already applied to, or sent with an uncertain outcome, is never sent again, which is an explicit when-not-to-act rule.

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