Skip to main content
Glama
RapierCraft

alterlab-mcp-server

by RapierCraft

alterlab_update_session

Update session properties such as name, cookies, headers, expiration, or notes. Replace all existing cookies with new ones to rotate credentials without deleting and recreating the session.

Instructions

Update a stored session's properties. You can change the name, rotate cookies, update custom headers, set a new expiration, or add notes. When cookies are provided, they replace ALL existing cookies (not merged). Use this instead of delete+recreate when you need to rotate credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesUUID of the session to update
nameNoNew name for the session
cookiesNoNew cookie key-value pairs — replaces ALL existing cookies (e.g., {"session-id": "new123", "session-token": "newxyz"})
headersNoNew custom headers — replaces ALL existing headers
expires_atNoNew expiration date in ISO 8601 format (e.g., '2026-12-31T23:59:59Z')
notesNoNotes or description for this session
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that cookies and headers replace ALL existing values (not merged), and mentions rotating credentials. It could be improved by explicitly stating the session must exist, but that is implied by the required session_id.

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?

The description is concise (4 sentences) and front-loaded: first sentence states purpose, then lists properties, then highlights key behavior, and ends with usage guidance. Every sentence adds value without redundancy.

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 mutation tool with no output schema, the description covers usage, parameter behavior (including replacement) and when to use vs alternatives. It does not explain return values or error cases, but those are less critical for this tool. Overall, it is sufficiently complete.

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

Parameters5/5

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

Schema coverage is 100% with descriptions for all parameters. The description adds critical context beyond schema, such as 'replaces ALL existing cookies' and provides an example for the cookies parameter. This clarifies the non-merge behavior, adding significant value.

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 clearly states the tool updates a session's properties and lists specific changeable aspects (name, cookies, headers, expiration, notes). It also distinguishes from the sibling tool by suggesting this over delete+recreate for credential rotation.

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?

The description provides explicit guidance on when to use the tool (to update properties, rotate credentials) and contrasts it with the alternative of delete+recreate. It also warns about replacement behavior for cookies and headers.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RapierCraft/alterlab-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server