Skip to main content
Glama

Write job cover letter

write_job_cover_letter
Idempotent

ON DEMAND ONLY — an LLM call the user pays for. Run it when the user asks for a cover letter for this job; never speculatively and never in a loop over a list. To READ an existing letter use get_job_cover_letter, which is free. It writes from the POSTING ANALYSIS and the JOB FIT when the org already has them and from the posting's own description when it does not, so nothing has to run first. It never generates either one itself — that would be two billable calls for one request — so running analyse_job_posting first is worth it when the user wants the sharper letter, and skippable when they just want a letter. A job with its own resume is written from that resume, otherwise from the profile. Cached per posting and profile, so there is ONE letter per application: changing tone, length or notes re-drafts it (another charge) without needing force, and force re-drafts with the settings unchanged. Needs a plan with AI cover letters. Returns the same {status, result, generatedAt, error, stale} as get_job_cover_letter.

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

Input Schema

NameRequiredDescriptionDefault
idYesJob id (UUID from list_jobs).
toneNoRegister to write in. Defaults to professional.
forceNoRe-draft with the settings unchanged. Off by default.
notesNoThe candidate's own steering, in their words — a fact the profile doesn't carry, or what to lead with. Pass what the USER said; never invent experience on their behalf.
lengthNoconcise ≈150-200 words, standard ≈250-350. Defaults to standard.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only give generic readOnly/idempotent flags; the description adds what actually matters here — it is billable, requires a plan with AI cover letters, is cached per posting and profile yielding one letter per application, that settings changes re-draft and re-charge, and that force re-drafts with unchanged settings. It also names its data sources (posting analysis, job fit, posting description, job resume, profile) and states it never generates those dependencies itself.

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?

Dense but front-loaded — cost and the never-speculative rule come first, then dependencies, caching and return shape. A single long paragraph in em-dash style is efficient in content though slightly heavy to scan.

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?

No output schema, but the description discloses the return shape ({status, result, generatedAt, error, stale}) and ties it to the sibling getter. Complexity around billing, caching and prerequisites is fully addressed, leaving little an agent needs that is absent.

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 semantic layering: tone/length/notes changes trigger a re-draft charge, and force means re-drafting with unchanged settings — which the schema's 'Re-draft with the settings unchanged' only partially conveys in isolation.

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?

Specific verb and resource ('an LLM call' that writes a cover letter), immediately scoped to 'this job' and explicitly distinguished from the read counterpart get_job_cover_letter.

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?

States the trigger ('when the user asks for a cover letter for this job'), the prohibitions ('never speculatively and never in a loop over a list'), the free alternative for reading, and the optional precondition analyse_job_posting with the tradeoff for skipping it.

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