Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_agent_sessions

Read-onlyIdempotent

Lists the signed-in user's AI sessions in a chosen project for review, without starting or resuming an AI run. Target a specific workspace per call via host, org, and project.

Instructions

List the signed-in user's AI sessions in the selected project; this does not start or resume an AI run. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results or rows; default 20, capped by server max rows
fieldsNoOptional top-level output projection
workspaceNoOptional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.139.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description still earns credit for two non-obvious facts: the call has no run-starting or run-resuming side effect, and per-call workspace targeting does not mutate the persisted default. Return shape and pagination behavior are left unstated.

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 tight clauses with no filler: the core action and scope come first, then the disambiguating negation, then the targeting note. Every phrase carries information an agent would otherwise have to guess.

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 read-only list tool with no output schema, the description covers scope, non-effects, and target resolution, and the schema fully documents all three parameters. The only remaining gap is the shape of returned session entries, which is a minor omission given the annotations and full schema coverage.

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 coverage is 100%, including a detailed workspace object and a documented limit default, so the schema carries the parameter burden. The description reinforces the key semantic that workspace is per-call and non-persistent, but says nothing about limit or fields, so it adds only partial meaning beyond the schema.

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 gives a specific verb and resource ('List the signed-in user's AI sessions') plus an explicit scope ('in the selected project'), and adds a negative clause ('does not start or resume an AI run') that separates it from the singular session tool. It stops short of naming the sibling to use for detail or mutation, so differentiation is achieved by negation rather than routing.

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?

There is a clear when-not ('this does not start or resume an AI run') and a stated defaulting chain for the workspace target, which tells an agent how to call it without extra lookups. It lacks an explicit positive alternative such as 'use whodb_platform_agent_session for a single session's details', so the guidance is strong but not fully closed.

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