Skip to main content
Glama
clidey

whodb-cli

Official
by clidey

whodb_platform_workspace_resolve

Read-onlyIdempotent

Resolve a workspace host, org, and project to canonical IDs and verify login without changing defaults. Use it for per-call targeting when you need valid identifiers.

Instructions

Resolve workspace {host, org, project} to canonical IDs and verify the login. Does not switch or save defaults. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo
emailNo
errorNo
scopeNo
user_idNo
commandsNo
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.
next_stepsNo
request_idNo
setup_statusNo
auto_selectedNo
saved_defaultNo
session_scopeNo
default_org_idNo
default_org_nameNo
platform_versionNo
process_overrideNo
default_project_idNo
workspace_selectedYes
default_project_nameNo
manifest_protocol_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.135.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 adds genuinely new context: it verifies the login (an auth check with possible network failure) and explicitly does NOT mutate session/default state, which an agent needs to know before relying on it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with the core action, but the 'no default change' point is stated twice ('Does not switch or save defaults' then 'without changing defaults'), so one sentence is partially redundant rather than earning its place.

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 an output schema present, return values need not be described, and annotations cover safety. The description supplies the key precondition (optional workspace, falls back to session defaults per the schema) and the non-mutating guarantee, leaving little an agent needs that is missing.

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% with only one nested parameter, and its sub-fields (host/org/project) are fully documented in the schema. The description merely restates the same {host, org, project} triple without adding format or disambiguation detail, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (resolve) and resource (workspace {host, org, project}) plus the outcome (canonical IDs, login verification). The clause 'Does not switch or save defaults' cleanly separates it from siblings like whodb_platform_session_use and the discovery tools whodb_platform_hosts/orgs/projects.

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?

Explains the per-call targeting use case ('Accepts workspace {host, org, project} for per-call targeting without changing defaults') and gives an implicit when-not via 'Does not switch or save defaults'. It stops short of naming session_use or resolve_resource as explicit alternatives, but the context is clear.

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