Skip to main content
Glama

Update pay slip

update_pay_slip
Idempotent

Update a pay_slip by id. Only the fields you pass are changed.

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": {
      "id": "<id>"
    },
    "name": "update_pay_slip"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYespay_slip id
bonusNobonus
notesNonotes
statusNostatus
paid_atNopaid_at
church_taxNochurch_tax
income_taxNoincome_tax
net_salaryNonet_salary
employee_idNoemployee_id
period_yearNoperiod_year
total_grossNototal_gross
gross_salaryNogross_salary
overtime_payNoovertime_pay
period_monthNoperiod_month
care_insuranceNocare_insurance
employer_totalNoemployer_total
other_additionsNoother_additions
health_insuranceNohealth_insurance
other_deductionsNoother_deductions
total_deductionsNototal_deductions
pension_insuranceNopension_insurance
solidarity_surchargeNosolidarity_surcharge
unemployment_insuranceNounemployment_insurance
employer_care_insuranceNoemployer_care_insurance
employer_health_insuranceNoemployer_health_insurance
employer_pension_insuranceNoemployer_pension_insurance
employer_accident_insuranceNoemployer_accident_insurance
employer_unemployment_insuranceNoemployer_unemployment_insurance

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is largely covered. The description's one real contribution, "Only the fields you pass are changed," is valuable patch-semantics disclosure that the annotations do not convey. However, it says nothing about whether derived totals (gross_salary, net_salary, total_deductions, employer_total) are recalculated when inputs change, which is the key behavioral risk for a 28-field payroll mutation.

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, zero filler, with the identification rule and the mutation semantics front-loaded. Nothing could be cut without losing information.

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?

For a 28-parameter payroll mutation with no output schema and no annotations on field-level behavior, the definition covers identity and patch semantics but omits how calculated fields are handled and what happens to a pay slip's postings or status when amounts change. It is callable as written, but the highest-risk behavior of this tool is left unstated.

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 every one of the 28 parameters is already documented structurally, and the baseline is 3. The description adds only the partial-update rule, not any meaning about the individual fields, and does not clarify the relationship between input amounts and computed totals.

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 and resource with the lookup key: "Update a pay_slip by id." That is enough to separate it from create/get/list/delete_pay_slip by name and action, though it never explicitly says how it differs from 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 implies usage (modify an existing pay slip identified by id) but gives no explicit when-to-use guidance, no prerequisites, and no exclusions such as preferring a recalculation or status endpoint. Adequate, but an agent must infer the context.

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