delete_sleep_log

Remove a previously logged sleep entry by its logId (from log_sleep output or from get_sleep[].logId).

Server Fitbit Googlehealth tachibanayu24/fitbit-googlehealth-mcp
Category Destructive
Risk class Critical
Parameters 00 required

What delete_sleep_log does on Fitbit Googlehealth

AI agents call delete_sleep_log to permanently remove resources in Fitbit Googlehealth — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why delete_sleep_log needs a policy

The tool permanently removes health records from Fitbit/Google Health. Deletion of personal health data is irreversible and represents a destructive action. Severity is high rather than critical because it affects only a single log entry rather than bulk data or critical system integrity, but the irreversible nature of health record deletion warrants high severity given potential user harm.

From the tool's definition Tool name is 'delete_sleep_log' and description states 'Remove a previously logged sleep entry' — this irreversibly deletes user health data that cannot be undone.

Questions about delete_sleep_log

What does the delete_sleep_log tool do? +

Remove a previously logged sleep entry by its logId (from log_sleep output or from get_sleep[].logId). It is categorised as a Destructive tool in the Fitbit Googlehealth MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on delete_sleep_log? +

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

What risk level is delete_sleep_log? +

delete_sleep_log is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit delete_sleep_log? +

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

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

delete_sleep_log is provided by the Fitbit Googlehealth MCP server (tachibanayu24/fitbit-googlehealth-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

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.