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

count_working_days

PAID ($0.02). Working days in a date range for a country: weekends (Egypt's Fri–Sat handled) and statutory public holidays applied, with the holidays hit by name and the next working day after the range. Range max 366 days. Pass api_key if you have one; otherwise the response explains how to pay ...

SERVERReference Data SOURCEhttps://asiaref.dev/mcp
Low RISK CLASS
Category Read
Parameters 53 required
Recommended Allowedsee the rule below
Registry record Grade D, identity unverified Pull the record →

This record as markdown: /tools/dev-asiaref-reference-data/count-working-days.md

What count_working_days does on Reference Data

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

ParameterTypeRequiredDescription
to string Yes Range end, YYYY-MM-DD, inclusive
from string Yes Range start, YYYY-MM-DD, inclusive
api_key string API key
country string Yes ISO country code
subdivision string Optional ISO 3166-2 region code (e.g. 'DE-BY') to apply that region's statutory holidays on top of the national calendar. Regions are listed under `subdivisions

Parameters from the server's own tool schema.

Why count_working_days is rated Low

Even though count_working_days 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.

Risk signalsHandles credentials or secrets (api_key)

Questions about count_working_days

What does the count_working_days tool do? +

PAID ($0.02). Working days in a date range for a country: weekends (Egypt's Fri–Sat handled) and statutory public holidays applied, with the holidays hit by name and the next working day after the range. Range max 366 days. Pass api_key if you have one; otherwise the response explains how to pay via x402. It is categorised as a Read tool in the Reference Data MCP Server, which means it retrieves data without modifying state.

What parameters does count_working_days accept? +

count_working_days accepts 5 parameters: to, from, api_key, country, subdivision. Required: to, from, country. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on count_working_days? +

Register the Reference Data MCP server in PolicyLayer and add a rule for count_working_days: 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 Reference Data. Nothing to install.

What risk level is count_working_days? +

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

Can I rate-limit count_working_days? +

Yes. Add a rate_limit block to the count_working_days 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 count_working_days completely? +

Set action: deny in the PolicyLayer policy for count_working_days. 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 count_working_days? +

count_working_days is provided by the Reference Data MCP server (https://asiaref.dev/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Reference Data, 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 Reference Data'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.