unsubscribe

Cancel a subscription by id. Ownership is enforced — you can only cancel your own subscriptions. The row is deactivated (not deleted) so its historical events stay available via recent_alerts.

Server Usgs Earthquakes pipeworx-io/mcp-usgs-earthquakes
Category Write
Risk class Medium
Parameters 11 required

What unsubscribe does on Usgs Earthquakes

AI agents use unsubscribe to create or update resources in Usgs Earthquakes — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Usgs Earthquakes environment.

ParameterTypeRequiredDescription
id string Yes Subscription id (uuid) returned by subscribe.

Parameters from the server's own tool schema.

Why unsubscribe needs a policy

This tool cancels/deactivates a subscription but does not permanently delete data. Since the row is deactivated rather than deleted, it falls under Write (reversible modification) rather than Destructive. Misuse could cancel legitimate subscriptions, giving it medium severity.

From the tool's definition 'The row is deactivated (not deleted) so its historical events stay available via recent_alerts' — the operation is reversible in the sense that data is preserved; it deactivates rather than deletes the subscription row.

Questions about unsubscribe

What does the unsubscribe tool do? +

Cancel a subscription by id. Ownership is enforced — you can only cancel your own subscriptions. The row is deactivated (not deleted) so its historical events stay available via recent_alerts. It is categorised as a Write tool in the Usgs Earthquakes MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does unsubscribe accept? +

unsubscribe accepts 1 parameter: id. Required: id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on unsubscribe? +

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

What risk level is unsubscribe? +

unsubscribe is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit unsubscribe? +

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

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

unsubscribe is provided by the Usgs Earthquakes MCP server (pipeworx-io/mcp-usgs-earthquakes). 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.