Skip to main content
Glama

List payslip templates

list_payslip_templates
Read-only

List the business's payslip templates: each named line set (earnings, deductions, contributions) with each line's kind, rate, quantity, amount and formula. Templates are master data; for issued payslips use list_payslips.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows to return in this page (default 50). Responses include next_cursor / truncated / total; pass next_cursor back as `cursor` to fetch the next page. Never silently truncated.
cursorNoOpaque pagination cursor. Omit for the first page; pass the next_cursor from a previous response verbatim to fetch the next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

readOnlyHint=true already establishes a safe read, so the description only needs to add beyond that — and it does, by clarifying that these are master-data template definitions rather than issued payroll records. It doesn't cover pagination behaviour or volume characteristics in the prose, but the schema carries those.

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 sentences: the first front-loads the identification plus the return shape, the second handles disambiguation from the sibling. No filler, no restatement of the title or name.

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?

With no output schema, the description usefully sketches what a template contains (line sets and their fields), which is enough for an agent to know what it will receive. Pagination semantics live in the schema, so the only minor gap is not describing ordering or volume of templates returned.

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% and both limit and cursor are fully documented in the schema, including default, next_cursor round-tripping and no-silent-truncation. The description adds no parameter-level meaning of its own, so the 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?

The description gives a specific verb+resource ('List the business's payslip templates') and then enumerates the internal structure returned (named line sets of earnings/deductions/contributions, each with kind, rate, quantity, amount, formula). It explicitly differentiates itself from the sibling list_payslips, so an agent can separate the two without opening a schema.

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

Usage Guidelines4/5

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

It states the domain clearly ('Templates are master data') and routes the agent to list_payslips for issued payslips, which is real when-to-use guidance tied to a named alternative. It stops short of stating exclusions for this tool itself (e.g. that it is business-wide and unfiltered), so it is strong but not exhaustive.

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