Skip to main content
Glama

Server Details

Source-backed Sri Lanka payslip tools for APIT/PAYE, EPF, ETF, stamp duty, and net pay.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
Buddhima-JD3/sri-lanka-salary-calculator
GitHub Stars
0

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4/5 across 3 of 3 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool has a clearly distinct purpose: calculation, reference data, and checklist. No overlap or ambiguity.

Naming Consistency5/5

All tools use snake_case with consistent 'sri_lanka' prefix and verb_noun pattern (calculate, get). Naming is predictable.

Tool Count4/5

Three tools is slightly on the low side but appropriate for a focused domain like Sri Lankan payslip processing. No unnecessary tools.

Completeness4/5

The set covers the core needs: calculation, reference data, and a checklist. Minor gaps like tool for updating assumptions or exporting results are acceptable.

Available Tools

3 tools
calculate_sri_lanka_payslipCalculate a Sri Lanka payslipA
Read-onlyIdempotent
Inspect

Estimate monthly APIT/PAYE, employee and employer EPF, ETF, stamp duty, net pay, and employer cost for regular primary employment in Sri Lanka.

ParametersJSON Schema
NameRequiredDescriptionDefault
grossSalaryYesGross monthly employment income in Sri Lankan rupees
epfEtfEarningsBaseNoEPF/ETF-eligible monthly earnings; defaults to gross salary
otherEmployeeDeductionsNoOptional non-statutory employee deductions, such as a loan repayment

Output Schema

ParametersJSON Schema
NameRequiredDescription
apitYes
netPayYes
cautionYes
sourcesYes
currencyYes
stampDutyYes
employeeEpfYes
employerEpfYes
employerEtfYes
grossSalaryYes
employerCostYes
methodologyUrlYes
sourceTableYearYes
yearOfAssessmentYes
epfEtfEarningsBaseYes
payslipGeneratorUrlYes
otherEmployeeDeductionsYes
totalEmployeeDeductionsYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, idempotentHint=true, destructiveHint=false. Description adds value by listing specific outputs (APIT/PAYE, EPF, etc.) and clarifying it's an estimate. No contradictions with annotations.

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?

Single sentence of about 20 words, front-loaded with the key action 'Estimate monthly APIT/PAYE...' and lists all components efficiently. No superfluous wording.

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?

Given the tool has only 3 parameters with full schema coverage, output schema exists, and annotations are rich, the description adequately explains what the tool does. It covers the calculation context (Sri Lanka, regular primary employment). Could mention assumptions or limitations, but not necessary for completeness.

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 coverage is 100% with descriptions for all three parameters. The description does not add significant new meaning beyond what is in the schema (e.g., grossSalary is described as 'Gross monthly employment income' in schema and 'monthly' in description). Baseline 3 is appropriate.

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?

Description clearly states it estimates monthly APIT/PAYE, EPF, ETF, stamp duty, net pay, and employer cost for regular primary employment in Sri Lanka. The verb 'Estimate' is specific, and the resource is a payslip. It distinguishes from sibling tools which are reference and checklist.

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?

Specifies the use case as 'regular primary employment in Sri Lanka', giving context. However, it does not explicitly state when not to use this tool or mention alternatives. Siblings are named but no guidance on when to use them versus this tool.

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

get_sri_lanka_payroll_referenceGet the Sri Lanka payroll referenceA
Read-onlyIdempotent
Inspect

Return the maintained APIT, EPF, ETF, and stamp-duty assumptions with official Sri Lankan sources and scope limits.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
scopeYes
periodYes
sourcesYes
citationYes
currencyYes
openApiUrlYes
effectiveFromYes
excludedCasesYes
methodologyUrlYes
provenanceNoteYes
employeeEpfRateYes
employerEpfRateYes
employerEtfRateYes
sourceTableYearYes
yearOfAssessmentYes
monthlyApitReliefYes
stampDutyThresholdYes
stampDutyAboveThresholdYes
machineReadableMethodologyUrlYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds context about official sources and scope limits, which goes beyond annotations and helps agents understand the data's authority and constraints.

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?

A single concise sentence with no wasted words. Every element contributes to understanding the tool's purpose.

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?

Given zero parameters and the presence of annotations and output schema, the description is largely complete. It covers what is returned and the authoritative nature, though it could mention read-only behavior (already implied by annotations).

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?

There are no parameters, so baseline is 4. The description explains what the tool returns, adding meaningful context beyond the empty schema.

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 clearly states the tool returns maintained assumptions (APIT, EPF, ETF, stamp-duty) with official sources and scope limits. It is a specific verb+resource that distinguishes it from sibling tools like calculate_sri_lanka_payslip and get_sri_lanka_payslip_checklist.

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 the tool provides reference values for payroll calculations but does not explicitly state when to use it vs. alternatives. No when-not-to-use or alternative guidance is provided.

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

get_sri_lanka_payslip_checklistGet a Sri Lanka payslip checklistA
Read-onlyIdempotent
Inspect

Return the fields and checks needed to prepare or review a Sri Lankan employee payslip.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
sourcesYes
earningsYes
guideUrlYes
evidenceNoteYes
generatorUrlYes
identityAndPeriodYes
employeeDeductionsYes
verificationChecksYes
employerContributionsYes
Behavior3/5

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

Annotations already declare readOnly and idempotent; description adds minimal behavioral context beyond 'fields and checks', which is adequate but not enriched.

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?

Single sentence, no redundancy, but very brief; could be more structured but earns its place.

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?

Given no parameters and an output schema, description is functional but omits details on output format or usage context with siblings.

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?

No parameters exist, so schema coverage is 100%; baseline 3 applies as description adds no param-specific value beyond trivial.

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 clearly states the tool returns fields and checks for Sri Lankan payslip preparation/review, distinguishing it from sibling tools like calculate_sri_lanka_payslip.

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 via its purpose but lacks explicit when-to-use or when-not-to-use guidance relative to sibling tools.

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

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.