Skip to main content
Glama

Bowmark web data: LinkedIn, Amazon, YouTube, Reddit, Airbnb, Instagram

Get the user a link to sign Bowmark in to a site

add_connection

Get a sign-in link for one site, so the user can sign Bowmark in to it right now, before any run needs it. Pass the site as a domain (youtube.com), a URL, or a provider id. Call this whenever the user asks to log in, sign in, connect or link an account on a site — never send them to the Bowmark Buddy extension or the dashboard to do it themselves.

It returns url, a single-use link that expires (expiresAt). Give the user that URL and say which site it is for. On that page they sign in with Bowmark's own browser, or, in desktop Chrome with Bowmark Buddy installed, press "Use Chrome extension" to send the login that Chrome already holds. Then call wait_for_sign_in with the returned ref: it answers the moment they finish, and every later run uses the new login.

For a valid site outside Bowmark's automatic sign-in catalog, this still returns url and savedLogin: give the user the link, then have them use Bowmark Buddy (bowmark.ai/link) to explicitly save the login already in their Chrome. A visit never saves an arbitrary site's login. Wait on ref, then read signed-in pages with read.page(url, { connection }). Do not offer a workaround that asks for their password. An invalid site name returns sites, the sites Bowmark can sign in to automatically. A public page still works without a login: get_library shows what can read it.

To sign back in to a saved login that stopped working, pass its id from list_connections as connection. The fresh session goes into the SAME id.

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": {
      "site": "<site>"
    },
    "name": "add_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe site to sign in to: a domain (`youtube.com`), a URL, its name, or a provider id.
connectionNoOptional. The `id` of a saved login from `list_connections`, to sign back in to it.

Output Schema

NameRequiredDescriptionDefault
refNoPass it to `wait_for_sign_in` to hear the sign-in finish.
urlNoThe single-use sign-in link to give the user.
siteNoThe site the link signs in to.
sitesNoEvery site Bowmark can sign in to.
titleNoIts name.
ambiguousNoThe sites a name could mean — ask the user which.
expiresAtNoWhen the link expires.
connectionNoThe saved login this link refreshes, if one was named.
savedLoginNoWhen signInSupported is false: this handoff lets the user explicitly save their existing Chrome login through Bowmark Buddy; a script then reads signed-in pages with `read.page(url, { connection })`.
anotherLoginNoTrue when this adds a second login on that site.
signInSupportedNoFalse when Bowmark cannot sign in automatically; a saved-login handoff may still be present.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / savedLogin / description
      Previous value: -"When signInSupported is false: the user can still save their own login from Bowmark Buddy and a script reads signed-in pages with `read.page(url, { connection })`."New value: +"When signInSupported is false: this handoff lets the user explicitly save their existing Chrome login through Bowmark Buddy; a script then reads signed-in pages with `read.page(url, { connection })`."
    • changedOutput schema / properties / signInSupported / description
      Previous value: -"False when Bowmark cannot sign in to that site."New value: +"False when Bowmark cannot sign in automatically; a saved-login handoff may still be present."
  2. Changed1 schema field changed
    • addedOutput schema / properties / savedLogin
      Added value: +{
      +  "description": "When signInSupported is false: the user can still save their own login from Bowmark Buddy and a script reads signed-in pages with `read.page(url, { connection })`."
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "ambiguous": {
      +      "description": "The sites a name could mean — ask the user which."
      +    },
      +    "anotherLogin": {
      +      "description": "True when this adds a second login on that site.",
      +      "type": "boolean"
      +    },
      +    "connection": {
      +      "description": "The saved login this link refreshes, if one was named."
      +    },
      +    "expiresAt": {
      +      "description": "When the link expires."
      +    },
      +    "ref": {
      +      "description": "Pass it to `wait_for_sign_in` to hear the sign-in finish.",
      +      "type": "string"
      +    },
      +    "signInSupported": {
      +      "description": "False when Bowmark cannot sign in to that site.",
      +      "type": "boolean"
      +    },
      +    "site": {
      +      "description": "The site the link signs in to.",
      +      "type": "string"
      +    },
      +    "sites": {
      +      "description": "Every site Bowmark can sign in to."
      +    },
      +    "title": {
      +      "description": "Its name.",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "The single-use sign-in link to give the user.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false); the description adds substantive behavior: the link is single-use and expires (expiresAt), an invalid site returns a `sites` list, a valid off-catalog site returns `savedLogin` but never auto-saves, and a password workaround must not be offered. That is far beyond what the annotations convey.

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

Conciseness4/5

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

It is front-loaded with the core action and the imperative usage rule, and every paragraph covers a distinct path (normal, off-catalog, invalid, re-auth). It is dense and longer than most definitions, but the length is mostly earned by the multi-branch behavior; a couple of clauses could be trimmed.

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

Completeness5/5

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

For a two-parameter tool with an output schema, the description covers all the branches an agent must handle: success with url/expiresAt, off-catalog with savedLogin, invalid site with `sites`, and re-auth via connection. It even names the correct next tool (wait_for_sign_in) and how to read pages afterward.

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%, so the baseline is 3, but the description adds real meaning: `site` accepts a domain, URL, name, or provider id, and `connection` reuses an id from list_connections with the stated outcome that the fresh session goes into the SAME id. That outcome semantics is not in the schema.

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 first sentence gives a specific verb and resource ('Get a sign-in link for one site') and states the immediate intent ('before any run needs it'). It is clearly distinguishable from siblings like list_connections, wait_for_sign_in, and delete_connection, which the description references by name.

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 explicitly states when to call ('whenever the user asks to log in, sign in, connect or link an account on a site') and what not to do ('never send them to the Bowmark Buddy extension or the dashboard'). It also routes the agent onward to wait_for_sign_in with the returned ref, and to Bowmark Buddy for sites outside the catalog.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.