# uber_set_access_token

Set the access token for a user after OAuth callback

Agent View of the PolicyLayer registry record for `uber_set_access_token`. HTML page: https://policylayer.com/tools/199-mcp-mcp-uber/uber-set-access-token

## Facts

- Tool: `uber_set_access_token`
- Server: MCP Uber Server (`199-mcp/mcp-uber`) — https://policylayer.com/tools/199-mcp-mcp-uber.md
- Homepage: https://github.com/199-mcp/mcp-uber
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "uber_set_access_token",
    "arguments": {}
  }
}
```

## Why uber_set_access_token is rated Medium

This tool creates or modifies user authentication credentials (access token) that enable subsequent ride-booking operations. While it doesn't directly move money or delete data, it irreversibly changes authentication state and grants the ability to book/manage rides on behalf of a user.

From the tool's own definition: "Tool sets/modifies the access token state for a user account after OAuth callback. Description explicitly states 'Set the access token', which is a state modification operation."

## Use case

AI agents use uber_set_access_token to create or update resources in MCP Uber Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your MCP Uber Server environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches MCP Uber Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "uber_set_access_token": {
      "limits": [
        {
          "counter": "uber_set_access_token_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on MCP Uber Server (5)

- `uber_cancel_ride` — Destructive — https://policylayer.com/tools/199-mcp-mcp-uber/uber-cancel-ride.md
- `uber_request_ride` — Financial — https://policylayer.com/tools/199-mcp-mcp-uber/uber-request-ride.md
- `uber_get_auth_url` — Read — https://policylayer.com/tools/199-mcp-mcp-uber/uber-get-auth-url.md
- `uber_get_price_estimates` — Read — https://policylayer.com/tools/199-mcp-mcp-uber/uber-get-price-estimates.md
- `uber_get_ride_status` — Read — https://policylayer.com/tools/199-mcp-mcp-uber/uber-get-ride-status.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=199-mcp-mcp-uber · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/199-mcp-mcp-uber
