Skip to main content
Glama

Preview an application

preview_application
Read-only

Shows what applying to one job would send and use, and returns a single-use confirmation_token for apply_to_job. The user must review this preview and say yes in the conversation before apply_to_job; the token works for this job and this connection only and expires after 10 minutes. Sends nothing.

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": "preview_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesA job id from search_jobs, get_job_from_link or list_applications.

Output Schema

NameRequiredDescriptionDefault
jobYesThe job the application would go to.
matchNoThe assessment of the job against the user.
sendsNoWhat ApplySent would fill and submit, in words.
resumeNoWhich résumé the application would attach, in words.
expires_inYesHow many seconds the token stays valid.
uses_applicationsNoHow many applications this send draws from the allowance.
confirmation_tokenYesThe single-use token apply_to_job takes for this job.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / job / properties / salary / properties / period / description
      Previous value: -"What the amounts are for (year, month, week, day or hour) when the posting states a period Applysent recognizes."New value: +"What the amounts are for (year, month, week, day or hour) when the posting states a period ApplySent recognizes."
    • changedOutput schema / properties / sends / description
      Previous value: -"What Applysent would fill and submit, in words."New value: +"What ApplySent would fill and submit, in words."
    • changedOutput schema / properties / uses_applications / description
      Previous value: -"How many applications from the plan this send uses."New value: +"How many applications this send draws from the allowance."
  2. Changed11 schema fields changed
    • addedOutput schema / properties / confirmation_token / description
      Added value: +"The single-use token apply_to_job takes for this job."
    • addedOutput schema / properties / expires_in / description
      Added value: +"How many seconds the token stays valid."
    • addedOutput schema / properties / job / description
      Added value: +"The job the application would go to."
    • addedOutput schema / properties / job / properties
      Added value: +{
      +  "apply_url": {
      +    "description": "The employer's posting URL.",
      +    "type": "string"
      +  },
      +  "city": {
      +    "description": "City the posting is in.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "company": {
      +    "description": "The employer's name.",
      +    "type": "string"
      +  },
      +  "country": {
      +    "description": "Country the posting is in.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "id": {
      +    "description": "The job id apply_to_job takes.",
      +    "type": "string"
      +  },
      +  "salary": {
      +    "description": "The pay the posting states, or null when it states none.",
      +    "properties": {
      +      "currency": {
      +        "description": "ISO code of the stated pay.",
      +        "type": "string"
      +      },
      +      "max": {
      +        "description": "Highest amount the posting states, in the currency's units.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "min": {
      +        "description": "Lowest amount the posting states, in the currency's units.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "period": {
      +        "description": "What the amounts are for (year, month, week, day or hour) when the posting states a period Applysent recognizes.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "min",
      +      "max",
      +      "currency",
      +      "period"
      +    ],
      +    "type": [
      +      "object",
      +      "null"
      +    ]
      +  },
      +  "title": {
      +    "description": "The posting's title.",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / job / required
      Added value: +[
      +  "id",
      +  "title",
      +  "company",
      +  "apply_url"
      +]
    • addedOutput schema / properties / match / description
      Added value: +"The assessment of the job against the user."
    • addedOutput schema / properties / match / properties
      Added value: +{
      +  "missing": {
      +    "description": "What the assessment could not establish about the user for this posting.",
      +    "items": {
      +      "description": "One fact the assessment could not establish.",
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "reasons": {
      +    "description": "Why the job scores what it does.",
      +    "items": {
      +      "description": "One reason the job scored as it did.",
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "score": {
      +    "description": "The match score against the user, from 0 to 100.",
      +    "type": "integer"
      +  }
      +}
    • addedOutput schema / properties / match / required
      Added value: +[
      +  "score",
      +  "reasons",
      +  "missing"
      +]
    • addedOutput schema / properties / resume / description
      Added value: +"Which résumé the application would attach, in words."
    • addedOutput schema / properties / sends / description
      Added value: +"What Applysent would fill and submit, in words."
    • addedOutput schema / properties / uses_applications / description
      Added value: +"How many applications from the plan this send uses."
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare it is a non-destructive read; the description goes further by confirming 'Sends nothing', disclosing the token's single-use, job-and-connection-scoped, 10-minute-expiry semantics, and its role as a precondition for a write action. This is exactly the context annotations cannot express.

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?

Three short sentences, front-loaded with what the tool does and what it returns, followed by the safety precondition and token lifetime. No filler and no repetition of the title or annotations.

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 one-parameter gated-preview tool with an output schema, the description covers purpose, return value (the token), token lifecycle, and the required conversational approval step. Nothing an agent needs in order 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single job_id parameter is already documented as coming from search_jobs, get_job_from_link or list_applications. The description adds only the indirect note that the token is bound to 'this job', so the schema is doing the heavy lifting and baseline 3 applies.

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 ('Shows what applying to one job would send and use') plus its distinctive output ('a single-use confirmation_token for apply_to_job'), which cleanly separates it from the sibling apply_to_job that it gates.

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?

Gives an explicit sequencing rule: the user must review this preview and say yes in the conversation before apply_to_job is used. It also names the boundary conditions of the returned token (this job and this connection only, expires after 10 minutes), leaving nothing to inference.

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