Skip to main content
Glama

Cancel an application

cancel_application
DestructiveIdempotent

Stops an application whose send has not started; it can then never be sent and its open questions are withdrawn. Refused once sending started.

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

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.

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/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real substance beyond them: the concrete consequences (never sent, open questions withdrawn) and the failure boundary once sending has started. It omits permission/auth requirements and what an error response looks like, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero filler: the effect is front-loaded and the guard condition follows immediately. Every clause carries information an agent needs.

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?

With an output schema present, return values need no explanation, and the description covers the effect, the precondition, and the refusal case for a 2-parameter mutation. The only gap is guidance on what to do when cancellation is refused.

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 description coverage is 100%, and both job_id and idempotency_key are documented in the schema itself, including where to obtain the job id. The description adds no additional meaning about either parameter, so the baseline of 3 applies.

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?

States a specific verb and resource ('Stops an application') plus the exact precondition ('whose send has not started'), so the agent knows precisely what the call does. It does not name or contrast any sibling such as get_application or preview_application, which keeps it short of a 5.

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 an explicit when-not condition ('Refused once sending started'), which is the key decision boundary for an agent. It does not point to any alternative tool for the already-sending case, so the agent must infer what to do instead.

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