Delete the saved Yahoo Client ID, Client Secret, and refresh token, then show the setup instructions again. Use this for 'fantasy logout' / 'fantasy disconnect' to reset and start over.
AI agents call fantasy_logout to permanently remove resources in Yahoo Fantasy Baseball — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
This tool irreversibly deletes saved credentials (Client ID, Client Secret, refresh token). While not deleting user data in a database, it permanently removes authentication tokens that cannot be recovered, requiring full re-authorization. Deletion of credentials is irreversible in nature, placing it in the Destructive category.
From the tool's definition Delete the saved Yahoo Client ID, Client Secret, and refresh token
Attacks that exploit this kind of access
Delete the saved Yahoo Client ID, Client Secret, and refresh token, then show the setup instructions again. Use this for 'fantasy logout' / 'fantasy disconnect' to reset and start over. It is categorised as a Destructive tool in the Yahoo Fantasy Baseball MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the Yahoo Fantasy Baseball MCP server in PolicyLayer and add a rule for fantasy_logout: 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 Yahoo Fantasy Baseball. Nothing to install.
fantasy_logout is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the fantasy_logout 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 fantasy_logout. 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.
fantasy_logout is provided by the Yahoo Fantasy Baseball MCP server (yahoo-fantasy-baseball-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
fantasy_logout is one line of Yahoo Fantasy Baseball's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →