Skip to main content
Glama

nexalayer_create_session

Idempotent

Create a paid static or dynamic proxy session for AI agents; set a budget and obtain owner approval before autonomous 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.

Input Schema

TableJSON 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

A3.6/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive, open-world write. The description adds behavioral value the annotations cannot: it incurs charges against the account balance and requires a budget plus owner approval. It still omits cost magnitude or billing timing.

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 short sentences, front-loaded with the action and then the cost/prerequisite warnings. Every sentence carries information an agent needs before calling.

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?

Covers the cost and authorization story well, and no output schema exists so return values need not be explained. However, for a 7-parameter mutation tool with zero schema descriptions, the definition leaves the entire input contract undocumented, which is a significant completeness gap.

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

Parameters1/5

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

Schema description coverage is 0% across 7 parameters, including 3 required ones (session_type, product_no, idempotency_key), so the description must compensate and does not. No parameter is mentioned, explained, or constrained; an agent gets no help understanding duration, quantity, country_code, or the enum choices.

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?

Specific verb and resource: 'Create a paid network session' clearly states the operation and its cost nature. It is distinguishable from siblings like nexalayer_rotate_session and nexalayer_terminate_session, though it does not explicitly name an alternative.

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?

Gives clear preconditions: configure a budget first and obtain owner approval for autonomous spend, which effectively routes the agent to nexalayer_set_budget. No explicit exclusions (e.g., when not to create a session), so it falls short of a 5.

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