Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_feature_access

Read-onlyIdempotent

Checks whether the current caller can access a specific platform feature key, with optional workspace targeting by host, org, or project for a single call without changing defaults.

Instructions

Check whether the caller can access one platform feature key. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "feature_key": "<feature_key>"
    },
    "name": "whodb_platform_feature_access"
  }
}

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.
feature_keyYesPlatform feature key; required for feature_access

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.139.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds that access is evaluated for the caller and that a workspace target applies to this call without changing defaults, but that last point is already in the workspace schema description, and the description says nothing about what a denial or an unknown key returns.

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?

Two sentences, front-loaded with the action, with no filler. The second sentence largely restates what the workspace schema property already documents, so it is close to redundant but does not hurt readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a small three-parameter read check with rich schema coverage this is nearly adequate, but because there is no output schema the definition should say what the result looks like (boolean flag, access objects, error for an unknown key). That gap leaves the agent guessing at the response shape.

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%, so baseline 3 applies. The description references the workspace {host, org, project} targeting but adds no detail beyond the schema's own explanations, and it does not explain the semantics of feature_key beyond restating that one key is checked.

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: "Check whether the caller can access one platform feature key." It scopes the check to a single feature key and to the caller's identity, which separates it from the sibling *_access tools, but it never names those siblings or explains the difference (app/app_access vs project_access vs feature key).

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?

The word "Check whether" implies a read-type eligibility query, but it gives no explicit when-to-use guidance, no conditions that pick this tool over whodb_platform_app_access or whodb_platform_project_access, and no exclusions. The only guidance is the per-call workspace targeting.

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