Skip to main content
Glama
nubiia-dev
by nubiia-dev

create_salary_record

Creates a real payroll record in Holded API v2, affecting accounting and HR data. Call get_salary_record_defaults first to build a valid payload, then send it as the request body.

Instructions

WRITE: creates a real payroll record in Holded (API v2) — affects accounting and HR data. Use get_salary_record_defaults first to obtain a valid base payload. data is sent verbatim as the request body — see https://www.holded.com/es/desarrolladores/referencia-api (Registros de nómina → Crear).

Input Schema

NameRequiredDescriptionDefault
dataYesSalary record payload, sent verbatim as body

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.3

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key trait: the call writes a real payroll record affecting accounting and HR data, and `data` is sent verbatim. It leaves out auth/permission requirements, error behavior on invalid payloads, and what the response returns, keeping it short of a 5.

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?

Three short clauses, front-loaded with the WRITE marker and the highest-stakes fact (real payroll/accounting impact), followed by the prerequisite and the payload pointer. Nothing is redundant.

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 mutation tool with a free-form nested body, no annotations and no output schema, the description covers impact, prerequisite, and where to find the payload spec. Missing only response/return behavior and permission scope to be fully complete.

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 baseline is 3, and the description adds real value by explaining the single param is passed verbatim as the request body and by pointing to the external API reference and defaults tool for the nested object's expected shape — something the flat schema cannot express.

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 states a specific verb and resource ('creates a real payroll record in Holded') plus the API version, and the 'WRITE' prefix makes the mutating nature unmistakable against read siblings like get_salary_record or list_salary_records.

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 explicitly names a prerequisite path — 'Use get_salary_record_defaults first to obtain a valid base payload' — which routes the agent to the right sibling before calling. It doesn't spell out the create-vs-update decision, but the verb plus the defaults prerequisite gives clear context.

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

Deploy Server

Other Tools