Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_usage

Read-onlyIdempotent

Read current organization usage and enforced limits, optionally scoped to a workspace host, org, or project for one call without changing defaults.

Instructions

Read current organization usage and enforced limits. This does not modify billing. 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_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A3.7/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 bar is low. The description still adds non-obvious context: it explicitly says billing is not modified and that per-call workspace targeting does not mutate session defaults, which is behavior the annotations alone would not convey.

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?

Three short sentences, led by the purpose statement, followed by the risk disclaimer and then the targeting note. Nothing is padded. It could be marginally sharper by folding the targeting sentence into one clause, but there is no wasted text.

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?

With zero required parameters, full schema coverage and read-only annotations, this is close to complete. The main absent piece is any hint about the shape of the usage/limits payload, which matters somewhat since no output schema exists, but the tool is simple enough that this is a minor gap.

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%, including nested org/host/project descriptions and the 'requires org' constraint, so the schema does the heavy lifting. The description only restates the workspace shape and says nothing about the 'fields' projection parameter, which the schema handles on its own. 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 opens with a specific verb and resource: 'Read current organization usage and enforced limits.' That is materially clearer than the tool name alone and distinguishes it from whodb_platform_storage_usage by scoping to organization usage and enforced limits. It never names the sibling explicitly, so the differentiation is implicit rather than stated.

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?

It indicates the tool reads usage and that workspace targeting applies per call, and the schema explains the default resolution order via whodb_platform_session_use and discovery siblings. There is no explicit 'use this instead of X' guidance, so an agent must infer when this beats storage usage or action tools.

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