Skip to main content
Glama

Pinpal Jobs

Update a template

update_template
Destructive

Change how a type's documents look, as options on top of the current ones: accent (hex), theme (light|dark), logo (left|right|none), font (sans|serif), density (normal|compact), columns (full|simple), headline (the big word, e.g. Faktura), words (the printed labels in any language: number, version, date, due, validUntil, from, to, description, quantity, unitPrice, amount, subtotal, total, payment, approve, approved, paid, cancelled, page), locale (how dates, amounts and quantities are written: a language tag like sv-SE gives "19 oktober 2026" and "5 500,00 kr"; "" is the built-in "19 October 2026" and "5 500.00 SEK"; set it with the words when the person wants their documents in a language). reset: true goes back to the built-in look.

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": {
      "type": "<type>"
    },
    "name": "update_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
fontNo
logoNo
typeYesquote, contract or invoice.
resetNo
themeNo
wordsNo
accentNo
localeNoA language tag such as "sv-SE", "de-DE" or "en-US", or "" for the built-in way.
columnsNo
densityNo
headlineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety bar is lower. The description does add real value: 'as options on top of the current ones' discloses merge/partial-update semantics, and 'reset: true goes back to the built-in look' explains the destructive path. However, it never says whether changes retroactively affect already-created documents, or whether omitted fields are preserved, which are the questions an agent most needs answered before mutating.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

It is a single dense run-on sentence with semicolon-separated clauses, which makes it hard to scan even though the purpose statement is front-loaded. Nearly every clause earns its place (the words key list and locale examples are genuinely load-bearing), but the lack of any structural breakup across an 11-parameter tool hurts usability.

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 tool with no output schema and 82% of parameters undocumented in the schema, the description covers all parameters except the required type, which the schema documents. The remaining gap is scope-of-effect: it does not say whether an updated template applies to documents already issued under it, or what happens on an unknown locale tag.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

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

With schema description coverage at only 18% and 11 parameters, the description carries the full burden and does so thoroughly: enum values are spelled out inline for theme, logo, font, density and columns; accent is constrained to hex; words enumerates every permitted label key; locale explains the empty-string default with concrete rendered examples. This is exactly the compensation low schema coverage requires.

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?

The opening clause names a specific verb and resource in plain terms: 'Change how a type's documents look.' The phrase 'as options on top of the current ones' communicates the partial-update nature immediately, and the enumerated options (accent, theme, logo, font, density, columns, headline, words, locale) reinforce the scope. It never names the read counterpart (get_template), so sibling differentiation is implied by the verb rather than stated.

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?

No explicit when-to-use or when-not-to-use guidance, and no alternatives are named, even though get_template is an obvious sibling. Usage is inferable from the phrasing 'change how a type's documents look,' and the locale hint ('set it with the words when the person wants their documents in a language') gives a situational trigger for one parameter. That is implied usage rather than real routing guidance.

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