Skip to main content
Glama

Agreements: save the agency's own agreement wording

agreement_template_save
DestructiveIdempotent

Only when the agency wants its OWN agreement wording instead of the standard one (most never need this). Plain text: "# " a heading, "## " a sub-heading, "- " a bullet, a blank line between paragraphs, {{placeholders}} for the deal (agreement_template_get lists them), optional sections {{#seo}}…{{/seo}} shown only when a deal includes that service. agency_values: agency_address, governing_state, agency_name. Previews first; saves with confirm true once the person has said so. Agreements already sent keep their own frozen text.

Input Schema

NameRequiredDescriptionDefault
bodyYesThe full wording
titleNoThe agreement's title, e.g. "Marketing Services Agreement"
confirmNoLeave false to preview: nothing changes and the preview shows exactly what would happen. Set true only after the user has agreed to this exact change.
signer_nameNoWho countersigns for the agency (default: the account's name)
signer_titleNo
agency_valuesNoValues about the agency itself: agency_address, governing_state, agency_name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / agency_values / description
      Previous value: -"Values about the agency itself: agency_address, governing_state, venue_county, agency_name"New value: +"Values about the agency itself: agency_address, governing_state, agency_name"
    • changedInput schema / properties / signer_name / description
      Previous value: -"Who countersigns for the agency"New value: +"Who countersigns for the agency (default: the account's name)"
  2. Added

TDQS

A4.5/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 the two-step preview/confirm mechanic and the important fact that already-sent agreements keep frozen text, i.e. what the mutation does and does not affect. It stops short of stating permission requirements, so it is strong rather than complete.

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?

Front-loads the when-to-use condition and then the format rules in a single dense paragraph with no filler sentences. It is telegraphic in places ('Previews first; saves with confirm true once the person has said so'), which costs a little readability but nothing is wasted.

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?

For a destructive write with a nested object parameter and no output schema, the description covers the risky edges: preview-before-save, frozen sent agreements, body length/format conventions. Missing only permission/authorization context and any hint about what the preview returns.

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 83% and already documents confirm, agency_values keys and limits, so the baseline is 3; the description pushes above it by explaining the markup syntax for body (headings, bullets, {{placeholders}}, optional {{#seo}} blocks) and pointing at agreement_template_get for the placeholder list — information the schema does not carry.

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 (save the agency's own agreement wording) and immediately distinguishes it from the standard default wording, which is the core ambiguity an agent would face among the agreement_* siblings.

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 gate ('Only when the agency wants its OWN agreement wording instead of the standard one (most never need this)') and names the companion tool (agreement_template_get) that supplies the placeholder list, so the agent knows both when to use and what to call first.

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.