Skip to main content
Glama
WapiSender MCP

WapiSender MCP

Official
by Wapi-Sender

get_session_info

Retrieve the current session state to confirm login status, active account, and active instance without making API calls.

Instructions

Return the current session state: whether you are logged in, which account, and which instance is active. Does not make any API calls.

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": "get_session_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does add real behavioral context: it states which fields are returned and explicitly discloses that the call makes no API requests, signaling a cheap, side-effect-free local read. It stops short of stating that it never mutates state or that the result may be stale after external changes.

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?

Two sentences, zero filler. The returned-state summary is front-loaded and the no-API-calls caveat is a short, useful coda that helps an agent judge cost.

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?

There is no output schema, and the description compensates by naming the three return values, so an agent knows what to expect without a schema. For a trivial zero-arg read tool this is nearly complete; only the caveat about state staleness or refresh timing is missing.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a param-free tool applies. The description does not waste words inventing parameter talk, which is correct here.

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 opens with a specific verb+resource ("Return the current session state") and enumerates the three pieces of information returned: login status, account, and active instance. This is concrete enough for an agent to distinguish it from data-fetching siblings like get_contact or list_flows, though it never explicitly contrasts itself with the closest-sounding sibling get_instance_status.

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?

Implicit guidance is present — the tool answers the precondition question 'am I logged in and on which account/instance', which makes it the natural first call before operations requiring auth. However, there is no explicit when-to-use statement, no mention of the login/logout siblings as alternatives, and no guidance on when to re-check state after calling login or refresh_instances.

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