Skip to main content
Glama

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

Get the user a dedicated IP for sites that need one

lease_ip

Some sites (LinkedIn, marked šŸ“ in get_library) only accept a login from the address it signed in from. A dedicated IP is one address that only this account uses, and once the account holds one, every sign-in link and every later call on that login uses it automatically.

Pass the required site provider id (for example, linkedin) so Bowmark can check the matching saved login. If that login is usable, or the account already holds a dedicated IP, it says so and nothing is bought. Otherwise it returns priceCents and a message with the price for termDays days in country (default US). The price is charged up front and is not refundable. If something must happen first (a card on file, a one-time identity check), mustFirst names it with the link that fixes it: give your user that link and stop.

Never buy without asking. Tell your user the exact price and buy only if they agree, by calling again with confirmPriceCents set to the price they agreed to. A live price above that is refused before any charge, and repeating the same call cannot buy two. Pass another: true only when your user asked for a second IP.

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": "lease_ip"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe provider id whose saved login this checks, e.g. `linkedin` (required).
anotherNoBuy a second IP although the account holds one. Only when your user asked.
countryNoTwo-letter country code for the IP, e.g. "US" (the default).
termDaysNoHow many days the IP is held, paid up front (default 30).
confirmPriceCentsNoThe price in US cents your user agreed to, from the unconfirmed call. Only this buys.

Output Schema

NameRequiredDescriptionDefault
errorNoWhy it failed, when it did.
statusNoThe HTTP status of the lease: below 400 succeeded.
messageNoWhat happened, in words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "The provider id whose saved login this checks, e.g. `linkedin` (required).",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "site"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "error": {
      +      "description": "Why it failed, when it did."
      +    },
      +    "message": {
      +      "description": "What happened, in words.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "The HTTP status of the lease: below 400 succeeded.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false, which is weak for a paid mutation; the description carries the rest: the price is charged up front, non-refundable, gated behind a two-step `confirmPriceCents` handshake, refused if the live price rose, and non-duplicating on repeat. It also discloses the `mustFirst` precondition pattern and instructs the agent to hand the link to the user and stop. No contradiction with the declared hints; idempotentHint=false is consistent with a one-shot purchase that must be re-confirmed explicitly.

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 'why' before the call flow, and the safety warning is bolded and set apart. It runs a bit long with explanatory framing ('A dedicated IP is one address that only this account uses'), but that sentence earns its place by making the purchase meaningful to a non-expert agent.

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 money-spending tool with a confirmation handshake and preconditions, the definition covers the happy path, the no-op path, the blocked path, refund policy, and duplicate protection. An output schema exists, so not restating every return field is fine, yet it still names `priceCents`, `message`, and `mustFirst` where the agent must act on them.

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 already 100%, so the baseline is 3; the description goes beyond it by explaining the semantics of the confirmation gate (the value must equal the previously returned `priceCents`, or the call is refused before charging) and the intent restriction on `another`. `termDays` and `country` defaults are left to the schema, which is acceptable given full coverage.

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 names a specific resource (a dedicated IP leased to this account) and explains the underlying need — sites like LinkedIn, marked šŸ“ in `get_library`, only accept logins from the originating address. It routes the reader to the sibling that marks the relevant sites, so an agent can distinguish this from `get_library`, `add_connection`, or `get_secret_link` without opening a schema.

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 states exactly when the tool applies (sites requiring a fixed login address), what a call does when the login is already usable or an IP already exists (nothing is bought), and how to use `another: true` only on explicit user request. The 'Never buy without asking' paragraph supplies the mandatory confirmation workflow and the condition that must hold before re-calling.

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.