fantasy_login

Begin or resume setup ('fantasy login' / 'fantasy start'). Shows how to create a Yahoo app if needed, and returns the authorization link once credentials are known. Optionally pass clientId/clientSecret to save them.

Server Yahoo Fantasy Baseball yahoo-fantasy-baseball-mcp
Category Write
Risk class Medium
Parameters 20 required

What fantasy_login does on Yahoo Fantasy Baseball

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

ParameterTypeRequiredDescription
clientId string Yahoo Client ID (Consumer Key)
clientSecret string Yahoo Client Secret (Consumer Secret)

Parameters from the server's own tool schema.

Why fantasy_login needs a policy

This tool initiates an OAuth authorization flow and optionally saves client credentials (clientId/clientSecret). Saving credentials is a write operation with moderate severity, as it stores sensitive authentication data. It does not execute code, delete data, or involve financial transactions.

From the tool's definition 'Begin or resume setup', 'returns the authorization link once credentials are known', 'Optionally pass clientId/clientSecret to save them'

Questions about fantasy_login

What does the fantasy_login tool do? +

Begin or resume setup ('fantasy login' / 'fantasy start'). Shows how to create a Yahoo app if needed, and returns the authorization link once credentials are known. Optionally pass clientId/clientSecret to save them. It is categorised as a Write tool in the Yahoo Fantasy Baseball MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does fantasy_login accept? +

fantasy_login accepts 2 parameters: clientId, clientSecret. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on fantasy_login? +

Register the Yahoo Fantasy Baseball MCP server in PolicyLayer and add a rule for fantasy_login: 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.

What risk level is fantasy_login? +

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

Can I rate-limit fantasy_login? +

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

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

fantasy_login 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.

// THE FULL RECORD

fantasy_login 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.