Skip to main content
Glama

dastyar_user_set_token

Manually set a user JWT bearer token for Dastyar assistant services to enable authenticated access to platform admin data and APIs.

Instructions

Manually set user JWT bearer token for Dastyar assistant services

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token": "<token>"
    },
    "name": "dastyar_user_set_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesJWT bearer access token

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it discloses very little. It does not say whether the token overwrites or replaces an existing one, whether it persists across sessions, whether it is validated before storage, or what a failure response looks like. For a credential-mutating tool, that is a substantial gap.

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 sentence with no filler, and the operative action is front-loaded. It is appropriately sized for a one-parameter tool, though the phrase 'user JWT bearer token' slightly duplicates the schema's own wording.

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?

There is no output schema, so the return value need not be explained. Still, for a credential-setting mutation with no annotations, the description omits what the agent should expect after the call (confirmation, persistence, replacement behavior), leaving a clear gap beyond the mechanical action.

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?

There is one parameter with 100% schema description coverage ('JWT bearer access token'), so the schema already carries the semantics and the baseline of 3 applies. The description only restates the same concept as 'user JWT bearer token' without adding format or sourcing guidance.

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: 'Manually set user JWT bearer token for Dastyar assistant services.' It is clearly distinguishable from data-oriented siblings like dastyar_user_get_notes, though it does not explicitly separate itself from dastyar_admin_set_session, which sounds like a related session-credential operation.

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

Usage Guidelines3/5

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

The word 'Manually' implies a fallback path when the token is not supplied automatically, which hints at usage context. However, it never states when to prefer this over dastyar_admin_set_session or any authentication flow, nor any preconditions such as the user already being authenticated.

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