Skip to main content
Glama

nexalayer_create_session

Idempotent

Create a paid proxy network session for dynamic or static proxies, applying budget and owner-approval checks before spend.

Instructions

Create a paid network session. This action incurs charges against the account balance. Configure a budget first and obtain owner approval for autonomous spend. The create API does not honor include_credentials and omits proxy credentials; read the session with include_credentials=true. Credentials are omitted unless include_credentials=true; never log them. PRICE_MISMATCH (409: re-read prices, retry once). BUDGET_EXCEEDED and INSUFFICIENT_BALANCE (402: ask the owner, don't retry).

Input Schema

NameRequiredDescriptionDefault
durationNo
protocolNosocks5
quantityNo
product_noYes
country_codeNo
session_typeYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly=false, destructive=false, idempotent=true, openWorld=true), and the description adds material context beyond them: monetary charges against account balance, approval requirements, credential handling ('never log them'), and failure-mode semantics for 402/409. The idempotency_key requirement is consistent with idempotentHint=true.

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?

The purpose and cost warning are front-loaded, and the error-code guidance is compact and scannable. There is mild redundancy in stating the credentials/read-back rule twice, but overall nearly every clause carries operational value.

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 charged, open-world mutation with no output schema, the description covers cost, approval, credential exposure, and error handling well. The notable remaining hole is that it leaves all seven input parameters undefined, which matters given the schema's 0% description coverage.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters (session_type, product_no, idempotency_key, duration, quantity, protocol, country_code), and the description explains none of them — no units, formats, or defaults. The only parameter-like identifier mentioned, include_credentials, is not even in the input schema, so it does not compensate for the gap.

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 opening sentence gives a specific verb+resource — 'Create a paid network session' — which is unmistakable against siblings like nexalayer_terminate_session, nexalayer_rotate_session, or nexalayer_get_session. It does not explicitly name an alternative tool, so it falls short of full sibling routing, but the create semantics are unambiguous.

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 prerequisites ('Configure a budget first and obtain owner approval for autonomous spend'), the create-vs-read distinction ('The create API does not honor include_credentials... read the session with include_credentials=true'), and explicit retry policy per error class (retry once on 409, do not retry on 402). This is concrete when-to-use/when-not guidance an agent can act on.

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