Skip to main content
Glama

browser_extract_token

Opens a supported provider's API credentials page and returns guidance for locating or creating tokens; read the page afterward with the content or screenshot tool.

Instructions

Open a known provider's API page (stripe, hubspot, slack, shopify, mailchimp, pipedrive, calendly, google, linkedin) and get instructions for finding or creating its API credentials there. It reads nothing itself: read the page with browser_get_page_content or browser_screenshot afterwards. For HubSpot, Slack, Shopify and LinkedIn the page is a settings or app list on the way to the token, not the token page itself. Any other provider answers Unknown provider; use browser_navigate and read the page yourself.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "provider": "<provider>"
    },
    "name": "browser_extract_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerYesOne of: stripe, hubspot, slack, shopify, mailchimp, pipedrive, calendly, google, linkedin
partitionNoRun this call in a partition from browser_partition (an id like "p1"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.33.0
    • addedInput schema / properties / partition
      Added value: +{
      +  "description": "Run this call in a partition from browser_partition (an id like \"p1\"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.30.2
    • changedInput schema / properties / provider / description
      Previous value: -"Provider slug (stripe, hubspot, slack, etc.)"New value: +"One of: stripe, hubspot, slack, shopify, mailchimp, pipedrive, calendly, google, linkedin"
  3. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and mostly succeeds: it states the tool reads nothing itself, that unsupported providers answer 'Unknown provider', and that four providers land on a settings/app list instead of the token page. It does not say whether navigation happens in the current tab or a new one, which matters for a browser agent's subsequent state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences, front-loaded with the core action, then the follow-up requirement, then the provider exceptions and fallback. No filler or redundant restatement of the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, no-output-schema tool it covers purpose, sequencing, failure mode, and provider-specific quirks. The remaining gap is the navigational side effect (tab vs. current page), which is not stated anywhere in the definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and already enumerates the provider values and explains the partition behavior, so the baseline is 3. The description nevertheless adds real meaning by spelling out which provider values lead to non-token pages and what an unrecognized value yields, which the schema does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ('Open a known provider's API page') and enumerates the exact provider set, so an agent can immediately tell this apart from browser_navigate or browser_get_page_content. It also states the tool's output is instructions, not data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use guidance, the required follow-up step (read with browser_get_page_content or browser_screenshot), and the exact fallback for unsupported providers (browser_navigate and read the page yourself). The only missing piece is what to do after the provider-specific token instructions, which are named as different page types.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.