get_total_hours
Get total hours registered for an employee in a date range.
This record as markdown: /tools/adriantr-tripletex-mcp/get-total-hours.md
What get_total_hours does on Tripletex MCP Server
AI agents call get_total_hours to retrieve information from Tripletex MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why get_total_hours is rated Low
This tool queries and retrieves historical time tracking data for reporting purposes. It performs no mutations, deletions, approvals, or external operations—only data retrieval. The blast radius of misuse is minimal, as an attacker could only access employment records already visible to the assistant's access level.
From the tool's definition Tool name 'get_total_hours' and description 'Get total hours registered for an employee in a date range' indicate a read-only query operation that retrieves aggregated timesheet data without modification or side effects.
Attacks that exploit this kind of access
The rule that runs get_total_hours safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Tripletex MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_total_hours, this is the rule to start with:
get_total_hours is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Tripletex MCP Server, apply this rule, and every get_total_hours call is checked against it from then on.
Questions about get_total_hours
Get total hours registered for an employee in a date range. It is categorised as a Read tool in the Tripletex MCP Server MCP Server, which means it retrieves data without modifying state.
Register the Tripletex MCP Server MCP server in PolicyLayer and add a rule for get_total_hours: 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 Tripletex MCP Server. Nothing to install.
get_total_hours is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_total_hours 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.
Set action: deny in the PolicyLayer policy for get_total_hours. 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.
get_total_hours is provided by the Tripletex MCP Server MCP server (adriantr/tripletex-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Tripletex MCP Server, and thousands of servers like it.
This server
Across the catalogue