Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_resolve_resource

Read-onlyIdempotent

Resolve a resource name or ID to the exact project resource before reading, planning, or writing it, with optional per-call workspace targeting.

Instructions

Resolve a hosted resource name or id to an exact project resource before reading, planning, or writing it. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

Input Schema

NameRequiredDescriptionDefault
queryYesResource id, exact name, or name fragment
resourceYesResource type such as source, dataset, ontology, transform, function, secret, or ai_provider
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

NameRequiredDescriptionDefault
errorNo
queryNo
scopeNo
commandsNo
recoveryNo
resolvedNo
resourceNo
ambiguousNo
retryableNo
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.
candidatesNo
error_codeNo
next_stepsNo
request_idNo
setup_statusNo
suggested_toolsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.136.0
    • addedOutput schema / properties / recovery
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "LikelyCause": {
      +      "type": "string"
      +    },
      +    "NextSteps": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "LikelyCause",
      +    "NextSteps"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / suggested_tools / type
      Previous value: -[
      -  "null",
      -  "array"
      -]New value: +"array"
  2. 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 the non-obvious side-effect guarantee that per-call workspace targeting does not change defaults. It omits what happens on ambiguous fragment matches (single best match vs. candidate list) and any error semantics, which matters for a resolve tool.

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, front-loaded with the action and its purpose, with zero filler. The scoping clause for workspace follows the primary instruction in the right order.

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, full parameter documentation and annotations present, the description covers the essentials: what it returns conceptually (an exact project resource) and why to call it first. The remaining gap is resolution-failure and ambiguity behavior, which is not described anywhere.

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% and every parameter including the nested workspace fields is documented in-schema, so the baseline is 3. The description adds only the 'without changing defaults' note for workspace, which the schema's own workspace description largely already conveys.

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 ('Resolve a hosted resource name or id to an exact project resource') plus a sequencing rationale ('before reading, planning, or writing it'). It clearly separates lookup from the actual read/write operations, though it never names the near-neighbor siblings (whodb_platform_workspace_resolve, whodb_platform_project_resources, whodb_platform_file_search) that an agent might otherwise pick.

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?

It states the context in which to call it (resolution as a prerequisite to read/plan/write) and clarifies that supplying workspace targets only this call without mutating defaults. There is no explicit 'do not use when…' or named alternative, so guidance is clear but not exhaustive.

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