Skip to main content
Glama

Get a dynamic residential proxy connection string

get_dynamic_proxy
Idempotent

Returns a ready-to-use rotating residential proxy URL for a chosen country, state, or city, reusing an existing credential or creating one free if missing.

Instructions

Return a ready-to-use rotating residential proxy URL for a country (optionally state/city). Reuses an existing matching proxy of yours; with create_if_missing=true it creates a new credential if none exists (creating is free, traffic is billed only when used from your prepaid pool).

Input Schema

NameRequiredDescriptionDefault
cityNo
lineNobudget
stateNo
countryYesCountry name, ISO code or id, e.g. "United States" or "US"
protocolNohttp
create_if_missingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, and the description is consistent with them. On top of that it discloses non-obvious behavior: credential reuse when a match exists, free creation, and that traffic is billed from a prepaid pool only when used. It omits rotation/expiry behavior of the returned URL.

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?

Two sentences with zero filler, front-loading the return value and then the reuse/create semantics. Every clause carries information an agent would otherwise have to guess.

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

Completeness3/5

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

With no output schema, the description correctly identifies the return value as a proxy URL, which covers the essentials. However, for a 6-parameter tool with 17% schema coverage, the budget/premium traffic distinction and protocol selection go unexplained, and nothing is said about how long a returned credential stays valid.

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

Parameters3/5

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

Schema description coverage is only 17%, with country being the lone documented parameter, so the description must compensate. It adds real meaning for create_if_missing and implicitly covers state/city scoping, but says nothing about line (budget vs premium) or protocol (http vs socks5), which are meaningful choices affecting cost and client compatibility.

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

Purpose4/5

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

The description states a specific verb and resource: return a ready-to-use rotating residential proxy URL scoped to a country (optionally state/city). That is clearly distinguishable from list_countries, list_regions, and get_account_usage. It stops short of explicitly contrasting with list_my_proxies, which is the sibling an agent might confuse it with.

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

Usage Guidelines4/5

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

It gives clear operating context: reuse an existing matching proxy by default, and set create_if_missing=true only when none exists. It does not name any alternative tool or state when-not-to-use it, so it lands at 4 rather than 5.

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