New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

check_pe_working_day

Use this when you need a deterministic Peru Peru 2026 national_statutory result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when choose calendar_scope and workweek explicitly. National holidays and publ...

SERVERCalcgrid SOURCEhttps://tttkmbb.com/mcp
Low RISK CLASS
Category Read
Parameters 33 required
Recommended Allowedsee the rule below
Registry record Grade D, identity unverified Pull the record →

This record as markdown: /tools/com-tttkmbb-calcgrid/check-pe-working-day.md

What check_pe_working_day does on Calcgrid

AI agents call check_pe_working_day to retrieve information from Calcgrid without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
date string Yes Gregorian date in Peru coverage.
workweek integer Yes Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster.
calendar_scope string Yes Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee r

Parameters from the server's own tool schema.

Why check_pe_working_day is rated Low

Even though check_pe_working_day only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.

Questions about check_pe_working_day

What does the check_pe_working_day tool do? +

Use this when you need a deterministic Peru Peru 2026 national_statutory result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when choose calendar_scope and workweek explicitly. National holidays and public-sector compensable days have different applicability. This is a declared five-day (Saturday-Sunday rest) or six-day (Sunday rest) planning calendar, not proof of an individual's roster. Essential services, private-employer adoption, compensating shifts, regional holidays, banking, school, tax and procedural deadline calendars require separate evidence. The two compensable public-sector days remain working days for tax purposes. Later decrees require a new snapshot; dates beyond 2026 are unsupported. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters. Example user requests: Peru: National layer keeps July bridge open. | Peru: Public-sector July bridge. | Peru: Six-day Saturday. Inputs: date (date); calendar_scope (enum); workweek (integer). Complete JSON argument examples: {"date":"2026-07-27","calendar_scope":"national_statutory","workweek":5} | {"date":"2026-07-27","calendar_scope":"public_sector","workweek":5} | {"date":"2026-09-19","calendar_scope":"national_statutory","workweek":6} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_selection, workweek, compensable_day_details. Formula: working day = outside selected weekly rest and selected holiday layer Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/peru-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/peru-public-working-day.md. It is categorised as a Read tool in the Calcgrid MCP Server, which means it retrieves data without modifying state.

What parameters does check_pe_working_day accept? +

check_pe_working_day accepts 3 parameters: date, workweek, calendar_scope. Required: date, workweek, calendar_scope. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on check_pe_working_day? +

Register the Calcgrid MCP server in PolicyLayer and add a rule for check_pe_working_day: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Calcgrid. Nothing to install.

What risk level is check_pe_working_day? +

check_pe_working_day is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit check_pe_working_day? +

Yes. Add a rate_limit block to the check_pe_working_day rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block check_pe_working_day completely? +

Set action: deny in the PolicyLayer policy for check_pe_working_day. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides check_pe_working_day? +

check_pe_working_day is provided by the Calcgrid MCP server (https://tttkmbb.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Calcgrid, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Calcgrid's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.