---
canonical_url: "https://docs.composio.dev/toolkits/webshare_mcp"
markdown_url: "https://docs.composio.dev/toolkits/webshare_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Webshare MCP

Read your Webshare proxy account: plans, subscription, billing and payment history, proxy lists and configuration, replacements, usage and error stats, IP authorizations, verification and suspension status, plus the proxy product catalog and pricing quotes, through Webshare's hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 36
- **Triggers:** 0
- **Slug:** `WEBSHARE_MCP`
- **Version:** 00000000_00

## Tools

### Diagnose billing issue

**Slug:** `WEBSHARE_MCP_DIAGNOSE_BILLING_ISSUE`

Diagnose the account's current billing health in one call.

        For questions like 'why am I being charged', 'why aren't my proxies working', 'why is my
        subscription ending' or 'I was charged but didn't get my plan'. It checks payments,
        payment methods, subscription state, verifications, suspension and notifications together
        and returns the issues it finds, each with its evidence.

        RETURNS:
        - status: overall health ('critical', 'action_required', 'informational', 'all_clear').
        - issues[]: the detected issues, most important first. Each issue is a discriminated union
          by `category`, carrying only the evidence fields relevant to that category.

        CATEGORIES:
        - payment_stuck_unallocated: the account was charged but the purchase was not provisioned.
          Critical. Refund or manual provisioning is owed.
        - account_suspended: account is locked out of service.
        - card_failed: a payment was declined. is_initial_purchase tells a first-purchase failure
          from a renewal failure. Severity depends on failed_payment_times (== 2 = critical
          because proxies are throttled to ~1 MB/month).
        - no_payment_method: no card on file and the subscription needs one soon.
        - verification_blocking: an open verification flow is preventing normal service.
        - card_expiring_soon: the card on file will expire and renewals will start failing.
        - subscription_paused: the subscription is paused (proxies disabled).
        - subscription_throttled: the subscription is throttled (reduced speeds/concurrency).
        - payment_processing: a payment is in-flight; usually clears within minutes.

        NOT INCLUDED: plan and proxy inventory (list_plans, list_proxies), the full history of
        each payment (list_pending_payments, list_transactions), and verification questions and
        answers (list_verification_questions, get_verification).
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get bandwidth stats

**Slug:** `WEBSHARE_MCP_GET_BANDWIDTH_STATS`

Get bandwidth usage and request stats for one or more of the customer's plans.

        Use when customers ask about data usage, bandwidth consumption, or how many proxies/countries
        they're hitting. Each record in the response is scoped to a single plan_id and either contains
        `bandwidth`, `requests`, and `usage_summary` (successful fetch) or carries a `reason` field
        (plan_not_accessible / stats_service_unavailable) when that specific plan's fetch failed.

        Multi-plan customers: pass a list of plan ids. The response keeps one record per plan, in
        the order passed. Duplicate ids are silently deduped. The response carries no cross-plan
        totals; each field's description says which numbers are summable, which need
        recomputation from totals, and which should not be averaged.

        If one plan in the list fails, its record is a `FailedBandwidthStat` (plan_id + reason) and
        the other records still return data; the top-level `success` stays True.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `plan_id` | string | No | One plan id (integer) or a list of plan ids. Optional when the account has one plan, which is then used; required when it has several, and the error names the ids to choose from. Stats are scoped per plan. Pass a list to fetch multiple plans in parallel; the response is always a list with one record per unique plan id, in input order. No cross-plan aggregation happens here — sum/merge client-side using the per-field guidance in the response model. |
| `timestamp__gte` | string | No | Start date filter (ISO format, e.g. '2026-01-01') |
| `timestamp__lte` | string | No | End date filter (ISO format, e.g. '2026-12-31') |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get billing info

**Slug:** `WEBSHARE_MCP_GET_BILLING_INFO`

Get the billing details saved on a customer's account.

        Returns the billing name, the postal address and the billing email, and nothing else:
        no tax id, and no invoice. The payment records are in list_transactions.
        Use when investigating billing questions, invoice requests, or payment issues.
        Read-only: there is no tool for editing billing details, the customer does that
        from the dashboard.
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get customer context

**Slug:** `WEBSHARE_MCP_GET_CUSTOMER_CONTEXT`

Get an account overview: profile, subscription status, active plans, and billing alerts.

        For a general look at the account, or as the starting point for a question about it.

        RETURNS:
        - user: identity, email verification status, account age, last activity
        - subscription: billing term/dates, paused/throttled status, payment failures, credits, discounts
        - active_plans[]: proxy type/count/countries, bandwidth, pricing, quotas, features
        - billing_alerts: consolidated "is anything wrong with the billing right now?" signal.
          `billing_alerts.has_failing_payment` is True when a payment is failing (card declined,
          insufficient funds, etc.), the most common billing problem, and
          `billing_alerts.failing_payments[]` carries the detail of each.

        NOT INCLUDED: proxy inventory (list_proxies), usage and error stats (get_bandwidth_stats,
        get_error_stats), the full billing history (list_payment_methods, list_transactions), the
        full detail of pending payments (list_pending_payments), and account restrictions
        (view_suspension, list_verifications).
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get customer timeline

**Slug:** `WEBSHARE_MCP_GET_CUSTOMER_TIMELINE`

Get a chronological narrative of recent activity on the account.

For "what has been happening with this account", a recent problem, or whether it has
happened before. Returns one timeline stitched across account, subscription, payment,
verification, appeal, abuse, and notification sources in a single call.

`timeline.summary` and `timeline.highlights` summarise the critical and notable events;
`timeline.events` carries the event-level detail.

Plan references surface `details.product_id` (stable catalog identifier), never raw
proxy_type/pool_filter pairs.

Caveat: verification flows in the `created` (pre-admin-approval) state are left out of the
source listing, so very early-stage verifications won't appear until they reach `inflow`.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `days` | integer | No | Window size in days (max 365). Default 30. |
| `limit` | integer | No | Maximum number of events to return. Default 50. |
| `categories` | string | No | Filter to a subset of categories. None or omitted returns all categories. |
| `min_severity` | string ("critical" | "notable" | "info") | No | Minimum severity to include. Default 'notable' skips routine info events. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get customize options

**Slug:** `WEBSHARE_MCP_GET_CUSTOMIZE_OPTIONS`

Resolve the runtime customization bounds and live country availability for a product.

        Takes a `product_id` from list_proxy_catalog and returns which values are valid for that
        product right now, for this customer. It answers questions like 'how many proxies can I
        buy?', 'is country X currently available?', 'what bandwidth tiers can I pick?', and 'does
        my account have the custom-bandwidth experiment?'. get_pricing refuses a configuration
        outside these bounds with a 400.

        BEHAVIOR IS PER-CUSTOMER: bounds reflect the customer behind the request (their existing
        plans, their experiment cohort, their proxy_list). Two different customers calling with
        the same `product_id` may receive different bounds — this is intentional, not a bug.
        Without authentication the response reflects a hypothetical brand-new customer.

        VERIFIED MODE: pass `required_site_checks` to learn the locked-down bounds (fixed
        bandwidth tier, no rotation, no refreshes, no replacements). Only valid for products
        whose catalog entry advertises non-empty `verified_available_site_checks` — passing it
        for any other product returns a 400.

        RATE LIMIT: the endpoint is rate-limited. The bounds depend on the product, the country
        distribution and the site checks, not on the quantities chosen within them.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `product_id` | string ("free" | "proxy_server_shared" | "proxy_server_private" | "proxy_server_dedicated" | "static_residential_shared" | "static_residential_private" | "static_residential_dedicated" | "residential") | Yes | Stable product identifier from list_proxy_catalog. Determines which configuration shape (proxy tier, IP pool) the bounds are resolved for. |
| `proxy_countries` | object | No | Optional country distribution {ISO_code: count} the customer wants to target. Influences pool-driven bounds (e.g. proxy_count_max may shrink when a scarce country is requested). Omit to receive the universal bounds for the product. |
| `required_site_checks` | array | No | Optional list of verified-proxy site checks (e.g. ['google_search']). Only valid for products whose catalog entry exposes a non-empty `verified_available_site_checks`. Setting this shifts the response into verified mode: bandwidth collapses to a fixed tier and rotation/refresh/replacement bounds disable. |
| `high_quality_ips_only` | boolean | No | Optional filter that restricts pool selection to the high-quality subset. Reduces `proxy_count_max` and `available_countries` accordingly. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get error stats

**Slug:** `WEBSHARE_MCP_GET_ERROR_STATS`

Get error statistics with troubleshooting guidance for one or more of the customer's plans.

        Use when customers report failures, errors, or ask why their proxies aren't working. Each
        record in the response is scoped to a single plan_id and either contains an `errors` object
        with counts and per-reason breakdown (successful fetch) or carries a `reason` field
        (plan_not_accessible / stats_service_unavailable) when that specific plan's fetch failed.

        Multi-plan customers: pass a list of plan ids. The response keeps one record per plan, in
        input order. Duplicate ids are silently deduped. To get a cross-plan picture, merge
        `error_breakdown` by `reason`, sum `count`, and recompute `failure_rate` / `percentage`
        from summed totals — see the field descriptions.

        Concentrating errors on a single plan is itself a signal: if the customer has multiple
        plans and one of them carries most failures, surface that to the customer rather than
        merging into a single rate that hides the pattern.

        If one plan in the list fails, its record is a `FailedErrorStat` (plan_id + reason) and
        the other records still return data; the top-level `success` stays True.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `plan_id` | string | No | One plan id (integer) or a list of plan ids. Optional when the account has one plan, which is then used; required when it has several, and the error names the ids to choose from. Error stats are scoped per plan. Pass a list to fetch multiple plans in parallel; the response is always a list with one record per unique plan id, in input order. No cross-plan aggregation happens here — merge client-side using the per-field guidance in the response model. |
| `timestamp__gte` | string | No | Start date filter (ISO format, e.g. '2026-01-01') |
| `timestamp__lte` | string | No | End date filter (ISO format, e.g. '2026-12-31') |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get ip authorization

**Slug:** `WEBSHARE_MCP_GET_IP_AUTHORIZATION`

Get one authorized IP on a plan, by id.

        Use after `list_ip_authorizations` to confirm a single entry, usually to check `last_used_at`
        before removing one that looks unused. Returns the same shape as a list entry: `ip_address`,
        `created_at` and `last_used_at`. It cannot tell you whether the address still belongs to the
        person who added it, and a null `last_used_at` means never used, not recently unused.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The IP authorization ID |
| `plan_id` | string | No | Plan id. Optional when the account has one plan, which is then used. Required when the account has several, and the error names the ids to choose from. IP authorizations are scoped to a specific plan on the subscription. If the plan does not belong to this customer (or is cancelled), the request fails with 403 'You do not have access to the target plan'. If the plan is valid but the authorization id does not belong to it, you get 404. Both surface as ErrorResponse — distinguish them when explaining to the customer. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get notification

**Slug:** `WEBSHARE_MCP_GET_NOTIFICATION`

Retrieve a single notification by id with its full typed context.

Use after `list_notifications` to inspect the exact variant details on record. Returns
the same discriminated-union shape as a list entry — `context` is already typed per
the notification's `type`, so specific fields (e.g. `proxy_usage_rate`, `effect`,
`before`) can be read directly without guessing.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The notification ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get plan

**Slug:** `WEBSHARE_MCP_GET_PLAN`

Get detailed information about a specific subscription plan.

        Use after list_plans to examine plan configuration, pricing, quotas and usage limits.
        Returns the same shape as a list_plans entry: product, proxy allocation, bandwidth limit,
        prices, quotas and feature flags. Auto-renewal and the period dates belong to the
        subscription: read them from get_subscription.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The subscription plan ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get pricing

**Slug:** `WEBSHARE_MCP_GET_PRICING`

Quote a specific proxy plan configuration.

        The actual price of a chosen `product_id`, country distribution and add-ons, for a
        customer comparing real prices or about to buy. What Webshare sells in general is in the
        catalog (list_proxy_catalog), and a configuration outside the bounds get_customize_options
        reports is refused with a 400.

        BEHAVIOR: `behavior="add"` prices a new plan alongside the customer's current ones;
        `behavior="upgrade"` prices changing the plan named in `plan_id`. The two return different
        numbers for the same configuration. Either one restarts the subscription's term today for
        every active plan, so the quote charges all of them for a fresh term and gives back the
        unused part of the current one as credit.

        TERMS: pass `term="monthly"`, `term="quarterly"` or `term="yearly"` for a single quote, or
        omit `term` to get all three terms in the same response, side by side.

        FREE PRODUCT: rejected with a ValidationError — the free tier is auto-provisioned and not
        purchasable.

        AUTHENTICATED VS ANONYMOUS: with `user_id` the response carries `paid_today`,
        `credits_added` and `credits_used`, which account for the plans the customer already holds,
        and `tax_breakdown` (when the customer has a payment method on file). Without user_id the response reflects a
        first-time anonymous purchase quote.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `term` | string ("monthly" | "quarterly" | "yearly") | No | Subscription term. Pass 'monthly', 'quarterly' or 'yearly' to price that single term. Omit (default) to receive all three terms side-by-side in the response — useful for comparing the quarterly and yearly savings vs. the monthly rate in a single call. |
| `plan_id` | string | No | Existing plan ID, required with behavior='upgrade'. It is the plan being changed, and the quote then accounts for what the customer already paid (paid_today and credits). |
| `behavior` | string ("add" | "upgrade") | Yes | What the quote is for. 'add' prices the configuration as a new plan next to the ones the customer already has, which is the answer to 'what would X cost'. 'upgrade' prices changing the plan named in plan_id, which is the answer to 'what if I moved my plan to X'. An account holds at most one plan per product family, so adding a second plan of a family the customer already has is priced but cannot be bought. |
| `product_id` | string ("free" | "proxy_server_shared" | "proxy_server_private" | "proxy_server_dedicated" | "static_residential_shared" | "static_residential_private" | "static_residential_dedicated" | "residential") | Yes | Stable product identifier from list_proxy_catalog. Passing 'free' is rejected — the free product is auto-provisioned and not purchasable. |
| `subusers_total` | string | No | Number of sub-user accounts. |
| `bandwidth_limit` | string | No | Bandwidth allowance in GB. For `residential` it is what the plan is priced on. |
| `proxy_countries` | object | Yes | Country distribution {ISO_code: count} for the configuration to price; the sum is the plan's proxy count. 'ZZ' means any country, picked at random, e.g. {'US': 50, 'ZZ': 50}. Counts outside get_customize_options.available_countries are refused with a 400. For `residential` the field is required but does not shape the quote: the plan covers the whole residential pool, so pass {'ZZ': 1}, and the price comes from `bandwidth_limit`. |
| `is_high_concurrency` | string | No | Enable the high-concurrency add-on (raises per-proxy connection limit). |
| `high_quality_ips_only` | string | No | Enable the High IP Reputation add-on (only allocate IPs from the high-reputation pool). Not listed in get_customize_options.available_features and not quoted in `features`: its surcharge is folded into `price` and `non_discounted_price`. Datacenter and static residential only — rotating residential rejects it with a 400. Pass `true` when quoting a change to a plan that already has it (list_plans shows `high_quality_ips_only`), otherwise the quote prices the plan without it. |
| `is_high_priority_network` | string | No | Enable the high-priority network add-on (premium routing tier). |
| `proxy_replacements_total` | string | No | Number of single-IP replacement credits to add to the plan. |
| `automatic_refresh_frequency` | string | No | Auto-refresh interval in seconds (proxy-list rotation cadence). |
| `is_unlimited_ip_authorizations` | string | No | Enable unlimited IP authorizations add-on. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get profile

**Slug:** `WEBSHARE_MCP_GET_PROFILE`

Get the account's profile: who it belongs to and how it is set up.

        Use to read the name, email and preferences on the account, and to check when it was
        registered. Returns those, the account status and how complete the profile is. Tools
        default to the authenticated account when `user_id` is left out.
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get proxy config

**Slug:** `WEBSHARE_MCP_GET_PROXY_CONFIG`

Get the settings of a plan's proxies.

        Use to see how the plan is set up to behave, not what it holds: the timeouts at which a
        request is cut when it runs too long or sits idle, the targeting an IP-authorized
        connection falls back to, and which of the four auto-replacement switches are on. IP
        authorization carries no username, so the `ip_authorization_*` values are what such a
        connection gets when the request itself asks for nothing; at most one of state, city,
        postal code and ASN is ever set.

        It returns nothing about the proxies themselves. The per-country allocation, what is still
        unallocated, the list state and the credentials are in `get_proxy_config_status`; the IP
        ranges and the ASNs the proxies sit on are in `get_proxy_config_stats`; the addresses are
        in `list_proxies`.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `plan_id` | string | No | Plan id. Optional when the account has one plan, which is then used. Required when the account has several, and the error names the ids to choose from. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get proxy config stats

**Slug:** `WEBSHARE_MCP_GET_PROXY_CONFIG_STATS`

Get the IP ranges and the ASNs of a plan's proxies, plus what the pool still has free.

        Use to judge how concentrated a plan's addresses are, which is what a target site blocks,
        and to pick a range before replacing proxies. The response has two halves. The allocated
        half, `ip_ranges_24/16/8` and `asns`, says where the plan's own proxies sit today. The
        available half, `available_countries`, `available_ip_ranges_24/16/8` and `available_asns`,
        says what a new allocation or a replacement can still draw on.

        It counts proxies per range and per ASN, it never lists the addresses: for those use
        `list_proxies`.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `plan_id` | string | No | Plan id. Optional when the account has one plan, which is then used. Required when the account has several, and the error names the ids to choose from. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get proxy config status

**Slug:** `WEBSHARE_MCP_GET_PROXY_CONFIG_STATUS`

Get the allocation status of a plan, and its proxy credentials when asked.

        Use to tell whether a plan's proxies are ready to use, how many sit in each country and
        how many are still waiting to be placed. Returns `state`, where only 'completed' means the
        list is usable and 'pending' or 'processing' mean it is still being built, the per-country
        allocation, `unallocated_countries`, and whether the list has ever been used.

        It is the plan's live state, not its settings and not its addresses: the timeouts and the
        auto-replacement switches are in `get_proxy_config`, the IP ranges and the ASNs in
        `get_proxy_config_stats`, the addresses in `list_proxies`.

        The username and password come back null unless the call sets `include_credentials`. One
        pair serves the whole plan, the same on every proxy, so ask for them when the customer wants
        their credentials or when you have to tell which ones a plan connects with. They are secret:
        pass them on only to the account holder.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `plan_id` | string | No | Plan id. Optional when the account has one plan, which is then used. Required when the account has several, and the error names the ids to choose from. |
| `include_credentials` | string | No | Set it true only when the credentials are the point: the customer is asking for them, or you have to check which ones a plan connects with. Left false, `username` and `password` come back null and the rest of the status is the same. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get proxy replacement

**Slug:** `WEBSHARE_MCP_GET_PROXY_REPLACEMENT`

Get one bulk replacement request by id.

        Use after `create_proxy_replacement` to follow a request until it reaches a terminal state.
        Takes only ids returned by `create_proxy_replacement`. The ids in `list_proxy_replacements`
        are a different numbering: one passed here returns 404, or a different request of the same
        customer when the numbers happen to match. Returns the `state` (validating,
        validated, pending, processing, completed or failed), the `to_replace` / `replace_with`
        specification, `proxies_removed`, `proxies_added`, the `error_code` when it failed, the
        `reason`, and the `created_at` / `completed_at` timestamps. It describes the request, not
        its outcome on the list: for the addresses that were actually swapped out, use
        `list_replaced_proxies`.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The proxy replacement request ID |
| `plan_id` | string | No | Plan id. Optional when the account has one plan, which is then used. Required when the account has several, and the error names the ids to choose from. Pass the `plan_id` used in the `create_proxy_replacement` call. If the plan does not belong to this customer, the request fails with 403 'You do not have access to the target plan'; if the replacement id does not exist, you get 404. Both surface as ErrorResponse, so distinguish them when explaining to the customer. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get proxy test

**Slug:** `WEBSHARE_MCP_GET_PROXY_TEST`

Get the results of a proxy test started with test_proxies.

        Waits up to 12 seconds for a 'pending' test to finish. Still 'pending' after that, call it again.
        A test of another customer, or an unknown id, returns 404.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `test_id` | string | Yes | The `test_id` that test_proxies returned. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get subscription

**Slug:** `WEBSHARE_MCP_GET_SUBSCRIPTION`

Get the account's current subscription.

        Use for a quick overview of the account's billing state: term, current period dates,
        renewals_enabled, free credits, failed payments, account discount, promotion, and whether the
        subscription is paused or throttled. It carries no plan detail, no proxy counts and no
        bandwidth: those are in list_plans and get_plan.
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get verification

**Slug:** `WEBSHARE_MCP_GET_VERIFICATION`

Get one verification flow on the account by id.

        Use after list_verifications to see what a particular verification asks for and how far it got.
        Returns full verification details including type, state, required documents, and any error messages or rejection reasons.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The verification flow ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get verification limits

**Slug:** `WEBSHARE_MCP_GET_VERIFICATION_LIMITS`

Get the access limits and restrictions currently on the account.

        Relevant when proxies are not working, on a '403 Forbidden', or on any access problem.
        Returns proxy_state, one of 'active' (normal access), 'paused' (proxies disabled until verification clears),
        or 'limited' (reduced concurrency/thread limit).
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### Get verification thresholds

**Slug:** `WEBSHARE_MCP_GET_VERIFICATION_THRESHOLDS`

Get the thresholds that trigger a verification on the account.

        Returns spending limits, bandwidth thresholds, and activity levels that trigger verification requirements.
        Use to explain why a verification was raised, or to see how close the account is to one.
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List abuse reports

**Slug:** `WEBSHARE_MCP_LIST_ABUSE_REPORTS`

List the abuse reports filed against the account.

        Relevant when the account is suspended or restricted, since an abuse report is usually
        what started it. Each report carries the description it was filed with
        (`content`) and the `flow` id of the verification flow it opened; pass that flow id
        to `get_verification` to see where it ended up.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number for pagination (default: 1) |
| `page_size` | string | No | Number of items per page (max: 100, default: 25) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List ip authorizations

**Slug:** `WEBSHARE_MCP_LIST_IP_AUTHORIZATIONS`

List IP authorizations on a plan's proxy access whitelist.

        Use when diagnosing connection issues or auditing which IPs the customer has
        pre-authorized for a specific plan. IP authorization is the default auth mode
        on proxies — only connections from whitelisted IPs are accepted (the alternative
        is username/password).

        Each entry contains: the IP address, when it was added (`created_at`), and when
        it was last seen sending traffic through the proxies (`last_used_at`). An
        authorization with `last_used_at` far in the past is a candidate for cleanup.

        Use `ip_address` for an exact-match check on a single IP; use `search` for a partial
        substring lookup when the customer remembers only part of an address.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number for pagination (default: 1) |
| `search` | string | No | Free-text search across the authorizations on this plan. Use for partial-IP lookups (e.g. the first one or two octets) when the customer only remembers part of an address. |
| `plan_id` | string | No | Plan id. Optional when the account has one plan, which is then used. Required when the account has several, and the error names the ids to choose from. A subscription can have multiple plans, each with its own proxy credentials and its own authorized IPs, so pick the one being asked about. |
| `page_size` | string | No | Number of items per page (max: 100, default: 25) |
| `ip_address` | string | No | Filter to authorizations whose IP exactly matches this value. Use to confirm whether a specific IP is already authorized on this plan. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List notifications

**Slug:** `WEBSHARE_MCP_LIST_NOTIFICATIONS`

List the in-product notifications on the account (alerts, reminders, billing follow-ups).

Use when something looks like it went unnoticed, or to see what the product has already
said about the account. Notifications are polymorphic — the `type`
field identifies which variant was emitted, and the `context` object carries the
type-specific payload of that variant:

- `80_percent_bandwidth_used` / `100_percent_bandwidth_used`: plan reached the bandwidth
  ceiling (80% variant also carries `proxy_usage_rate`).
- `high_concurrency_error` / `projected_proxy_usage_over_100`: customer is trending over
  a limit — `projected_bandwidth_gbs` shows the forecast.
- `too_many_forbidden_host_error`: customer hit blocked hosts repeatedly (compliance).
- `too_much_bandwidth_too_little_proxies`: plan sizing hint — bandwidth is being used
  by too few proxies.
- `unlimited_bandwidth_gets_throttled`: customer on unlimited-bandwidth plan is being
  throttled due to usage patterns.
- `subscription_renew_failed`: `effect` explains the customer impact
  ('converted_to_free_plan', 'proxies_stopped_working', or null while the renewal
  payment is still in the retry window).
- `subscription_cc_will_expire_soon` / `subscription_will_expire_soon` / `subscription_renewal_upcoming`:
  billing timing reminders. `subscription_will_expire_soon.context.before` is the
  days-before bucket (1, 2, or 7).
- `reminder_to_use_proxy` / `question_is_added`: engagement + verification flow nudges.

`is_dismissable=False` means the notification is system-pinned and cannot be dismissed.
Non-null `dismissed_at` means the user (or automation) already dismissed it.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number for pagination (default: 1) |
| `ordering` | string | No | Sort order. Prefix with '-' for descending. Default backend order is '-created_at'. |
| `dismissed` | string | No | Filter by dismissal state. True = already dismissed by the user, False = still pending in the user's notification list, null = both. |
| `page_size` | string | No | Number of items per page (max: 100, default: 25) |
| `notification_type` | string | No | Filter to a single notification variant (exact match on `type`). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List payment methods

**Slug:** `WEBSHARE_MCP_LIST_PAYMENT_METHODS`

List the payment methods saved on the account (credit cards, PayPal, etc.).

        Use when a payment has failed, or to work out which card is the one being charged.
        Returns the type, brand, last 4 digits, expiry and billing address of each card. No card is
        marked as the default: the one being charged is the subscription's payment_method.
        Read-only. To delete the saved card use `remove_payment_method`; adding or replacing
        one is a dashboard flow, there is no tool for it.
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List pending payments

**Slug:** `WEBSHARE_MCP_LIST_PENDING_PAYMENTS`

List the account's pending and unpaid invoices and payment attempts.

        Use when a payment failed, a card was declined, or a balance is outstanding.
        Returns each attempt's status, its failure_reason, the plan and term it was for, whether it
        was a renewal, and when it was created and completed. There is no retry schedule: a failed
        attempt says why it failed, not when it will be tried again.
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List plans

**Slug:** `WEBSHARE_MCP_LIST_PLANS`

List every plan on the account, active, expired and cancelled.

        Use to see the subscription history, to check what a plan holds, or to find the plan ids the
        plan-scoped tools take.
        Returns each plan's product, proxy count and countries, bandwidth limit, status, monthly,
        quarterly and yearly price, and its refresh, replacement and subuser quotas. The billing term and the renewal
        dates belong to the subscription, not to a plan: read them from get_subscription.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (default: 1) |
| `page_size` | integer | No | Number of items per page (max: 100, default: 25) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List proxies

**Slug:** `WEBSHARE_MCP_LIST_PROXIES`

List proxies that belong to a single plan, paginated, with filtering support.

        Use to show available proxies, check proxy counts, or filter by country/validity. Each
        response is scoped to the `plan_id` you pass. For multi-plan customers, call this tool
        once per plan and merge the results — pagination is per-plan, do not assume cross-plan
        totals.

        Mode caveat: backbone mode only supports `country_code__in`. The other filters are silently
        ignored in backbone mode; `search`/`ordering` actively raise 400.

        A row is the address, not how to authenticate against it. The username and password are the
        plan's, the same on every proxy, and `get_proxy_config_status` is what hands them over.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mode` | string | No | Which list to return. 'direct' returns the allocated proxy addresses with their port, country, city and ASN. 'backbone' returns rotating-endpoint sessions instead, with `proxy_address`, `asn_name` and `asn_number` null. Residential plans only serve 'backbone'. Left out, 'direct' is used, and 'backbone' is retried when the plan does not allow 'direct'. |
| `page` | string | No | Page number for pagination (default: 1) |
| `valid` | string | No | Filter by proxy validity status |
| `search` | string | No | Search term for filtering proxies |
| `plan_id` | string | No | Plan id. Optional when the account has one plan, which is then used. Required when the account has several, and the error names the ids to choose from. The response is paginated per plan and lists only the proxies that belong to the given plan. For multi-plan customers, call this tool once per plan. |
| `asn_name` | string | No | Filter by ASN name (mode=direct only) |
| `ordering` | string | No | Field to order results by |
| `page_size` | string | No | Number of items per page (max: 100, default: 25) |
| `asn_number` | string | No | Filter by ASN number (mode=direct only) |
| `proxy_address` | string | No | Filter to a single proxy IP address (mode=direct only) |
| `created_at__gte` | string | No | Lower bound (inclusive) on the proxy's allocation timestamp, ISO 8601 (mode=direct only) |
| `created_at__lte` | string | No | Upper bound (inclusive) on the proxy's allocation timestamp, ISO 8601 (mode=direct only) |
| `country_code__in` | string | No | Filter by country codes (comma-separated, e.g., 'US,UK,DE') |
| `proxy_address__in` | string | No | Filter by proxy IP addresses (comma-separated; mode=direct only) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List proxy catalog

**Slug:** `WEBSHARE_MCP_LIST_PROXY_CATALOG`

Return the static catalog of all purchasable Webshare proxy products.

        Answers 'what does Webshare sell?'. Each product carries a stable `product_id`, which
        get_pricing and get_customize_options take, plus a description and high-level metadata.
        Configurable bounds (min/max bandwidth, supported features, country availability) are not
        in the catalog; get_customize_options returns them.

        RETURNS:
        - products: 8 entries — `free` (auto-provisioned starter, not purchasable), datacenter
          (Proxy Server Shared/Private/Dedicated), static residential (Static Residential
          Shared/Private/Dedicated), and rotating residential (Residential).
        - country_sets: {'residential': [~167 ISO codes for the rotating residential product],
          'free': ['ZZ'] (placeholder country for free plan — free customers cannot pick a country)}.
        - sanctioned_countries: payment-side review countries (RU, BY, CU, IR, KP, SY).
        - minimum_charge_usd: smallest billable amount on a single transaction.
        - available_terms: monthly, quarterly and yearly.
        - notes: cross-cutting business rules that apply to every configuration, such as the
          free-plan special case and other constraints not encoded in the schema.
        - catalog_version: ISO date this catalog was last validated.

        DOES NOT INCLUDE: verified proxies (a configuration of `proxy_server_shared` surfaced via
        the verified_available_site_checks field — not a separate product), per-customer or
        per-configuration bounds (get_customize_options), or the price of a configuration
        (get_pricing).
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List proxy replacements

**Slug:** `WEBSHARE_MCP_LIST_PROXY_REPLACEMENTS`

List bulk proxy replacement requests for a single plan, paginated.

        Use to view a plan's replacement history or investigate replacement issues. Each record
        describes a bulk replacement operation (not a single proxy): what was replaced
        (`to_replace`), the rules used to pick replacements (`replace_with`), counts
        (`proxies_removed`, `proxies_added`), current `state` (pending, processing, completed,
        failed), `reason`, `dry_run` flag, and `created_at` / `completed_at` timestamps. To see
        the individual old-proxy records produced by these operations, use `list_replaced_proxies`
        instead.

        Records include BOTH customer-initiated replacements (`reason='proxy_replaced'`) AND
        system-initiated ones (`auto_invalidated`, `auto_deleted`, `list_rotated`, etc.). When the
        customer asks "what did I do?", filter by `reason='proxy_replaced'`; when they ask "why
        was my proxy taken?", the auto-* reasons explain it.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number for pagination (default: 1) |
| `plan_id` | string | No | Plan id. Optional when the account has one plan, which is then used. Required when the account has several, and the error names the ids to choose from. Replacement history is scoped per plan, so for a multi-plan account call this tool once per plan. |
| `page_size` | string | No | Number of items per page (max: 100, default: 25) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List replaced proxies

**Slug:** `WEBSHARE_MCP_LIST_REPLACED_PROXIES`

List proxies that have been replaced on a single plan (old proxies no longer in active pool).

        Use to view historical replaced proxy list, investigate why proxies were replaced,
        or verify replacement completion. Unlike list_proxy_replacements which shows replacement
        requests, this shows the actual old proxy records that were removed from service.
        Returns records including: replaced proxy IP/port/country_code (`proxy`, `proxy_port`,
        `proxy_country_code`), the new proxy assigned (`replaced_with`, `replaced_with_port`,
        `replaced_with_country_code`), the `reason` for replacement, and `created_at` timestamp.

        Records include BOTH customer-initiated replacements (`reason='proxy_replaced'`) AND
        system-initiated ones (`auto_invalidated`, `auto_deleted`, `list_rotated`, etc.). When the
        customer asks "why was my proxy taken?", the auto-* reasons explain it without the
        customer having done anything.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number for pagination (default: 1) |
| `plan_id` | string | No | Plan id. Optional when the account has one plan, which is then used. Required when the account has several, and the error names the ids to choose from. Replaced-proxy records are scoped to a single plan's proxy list, so for a multi-plan account call this tool once per plan. |
| `page_size` | string | No | Number of items per page (max: 100, default: 25) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List transactions

**Slug:** `WEBSHARE_MCP_LIST_TRANSACTIONS`

List the account's billing history: charges, refunds and credits.

        Use to produce an invoice history, to look into a disputed charge, or to find a payment record.
        Returns each transaction's amount, credits used and gained, refund amount and date, its
        reason, the payment method and the line items it paid for. Status is only 'completed' or
        'refunded': a failed charge never becomes a transaction, those are in list_pending_payments.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number for pagination (default: 1) |
| `search` | string | No | Free-text search across the transaction status and reason fields. |
| `status` | string | No | Filter to transactions with this status. Only 'completed' or 'refunded' are ever stored. |
| `ordering` | string | No | Sort order. Prefix with '-' for descending. Backend default is by id ascending; support queries usually want '-created_at'. |
| `page_size` | string | No | Number of items per page (max: 100, default: 25) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List verifications

**Slug:** `WEBSHARE_MCP_LIST_VERIFICATIONS`

List the active verification flows on the account.

        Relevant when the account is suspended, when proxies stop working, or on a
        '403 Forbidden': a verification flow is what holds access back until it clears.
        Returns verification type (acceptable_use_violation, abuse_report, fraudulent_payment),
        state (inflow, successful_verification, failed_verification), and whether ID verification is required.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number for pagination (default: 1) |
| `page_size` | string | No | Number of items per page (max: 100, default: 25) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List verification categories

**Slug:** `WEBSHARE_MCP_LIST_VERIFICATION_CATEGORIES`

List the verification categories and document types the system accepts.

        Use to see which documents you can submit (e.g., government ID, proof of address,
        business registration), so you know what to prepare before starting. It lists what the
        system accepts in general, not what any one verification is asking for: that is in
        `get_verification`.
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### List verification questions

**Slug:** `WEBSHARE_MCP_LIST_VERIFICATION_QUESTIONS`

List the verification questions on the account, answered and unanswered.

        Use to see what is still pending before a verification can clear. Returns question id,
        question text, the submitted answer (null when unanswered), and the verification flow id
        each question belongs to.
        

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number for pagination (default: 1) |
| `page_size` | string | No | Number of items per page (max: 100, default: 25) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |

### View suspension

**Slug:** `WEBSHARE_MCP_VIEW_SUSPENSION`

View the suspension details of the account.

        Use immediately when the account looks suspended or every proxy stopped working at once.
        Always returns a structured response on success:
        - is_suspended=True with populated `suspension` (reason + created_at) when the account is suspended.
        - is_suspended=False with `suspension=None` when there is no active suspension.
        The `message` field carries a plain-language summary of why. It does not say when the
        suspension will lift, and there is no tool that does: an appeal goes through verification.
        

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | string | Yes |  |
