Skip to main content
Glama

dastyar_update_session

Update the Dastyar session cookie or bearer token manually or through the browser bridge to restore or refresh authenticated admin access.

Instructions

Update Dastyar session cookie or token manually or via browser bridge

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dastyar_update_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawInputNoRaw string containing either cookie or JWT
userTokenNoUser JWT bearer token
adminCookieNoKeystone session cookie (e.g. keystonejs-session=...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It says the session credential is updated but not whether an existing session is replaced, whether all three parameters can be combined or one takes precedence, whether authentication is required to call it, or what the tool returns on success/failure.

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?

A single short sentence with the action and resource front-loaded and no filler. It is efficient, though its brevity comes at the cost of the operational detail an agent would want.

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

Completeness2/5

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

With three optional, non-enumerated credential parameters, no annotations and no output schema, the description should clarify at minimum how the parameters interact and what state change results. It covers neither, so an agent can identify the tool but not invoke it confidently.

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 100%, so each of rawInput, userToken and adminCookie is already documented with its own semantics. The description adds only the loose 'manually or browser bridge' framing and does not explain precedence or mutual exclusivity among the three optional parameters, so baseline 3 applies.

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 ('Update') and resource ('Dastyar session cookie or token') plus the two input channels (manual or browser bridge). It is clear what the tool mutates, but it never mentions how it relates to the similarly named sibling dastyar_admin_set_session.

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

Usage Guidelines2/5

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

The phrase 'manually or via browser bridge' hints at two invocation modes but gives no conditions for choosing between them and no guidance on when to prefer this over dastyar_admin_set_session or dastyar_admin_login. An agent must infer the selection logic.

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

Deploy Server

Other Tools