Skip to main content
Glama

Save an offer analysis

save_offer
Idempotent

Create or update a job offer file with its analysis, preserving status and interview notes if the offer already exists.

Instructions

Creates or updates an offer file with its analysis. If the offer already exists ONLY the analysis is replaced: status and interview notes are kept.

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier and file name, format YYYY-MM-company. E.g. '2026-07-acme'.
urlNoLink to the original offer.
tagsNoShort labels. E.g. ['backend','remote'].
scoreNoScore following the scoring rules in criteria.md, if it defines any.
titleYesJob title exactly as the offer states it.
salaryNoRange or figure exactly as the offer publishes it.
companyYesCompany.
markdownYesThe full analysis in Markdown, with the six points of the template.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare idempotentHint=true and destructiveHint=false, and the description meaningfully extends that by spelling out the upsert behavior and exactly what survives an overwrite (status and interview notes). It does not cover permissions, file location, or what happens to url/tags/score/salary on update.

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 tight sentences with the create-or-update behavior front-loaded and the preservation rule immediately after. No filler, and the most decision-relevant fact (only the analysis is replaced) is stated early.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and 8 parameters, the description covers the central upsert risk well but leaves a real ambiguity: it says ONLY the analysis is replaced, yet the schema accepts url, tags, score, and salary, so an agent cannot tell whether those are updated or ignored on the update path. That gap matters for correct invocation.

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%, so all eight parameters are already documented in the schema with formats and examples. The description adds no parameter-level detail beyond calling the markdown payload 'the analysis', which is the baseline expectation when the schema does the heavy lifting.

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+resource ('Creates or updates an offer file with its analysis') and immediately pins down the upsert semantics. It implicitly separates itself from set_offer_status and add_offer_note by stating that status and interview notes are preserved, though it never names those siblings.

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

Usage Guidelines3/5

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

The description tells you what the tool does on both the create and update paths, but gives no explicit when-to-use guidance, no prerequisites, and no routing to alternatives such as add_offer_note or set_offer_status for the fields it deliberately preserves. Usage is only implied.

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