Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_app_files

Read-onlyIdempotent

List a hosted app's draft files—app.json, shared files, and pages—reading one page per request so large apps fit. Target a workspace per call without changing defaults.

Instructions

List the draft files of one hosted app: app.json, shared files, and every page, read one page per request so large apps fit. 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_app_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoApp id for detail, files, or version view
envNoOptional app environment for the current view
pageNoOptional app page for the current view
fieldsNoOptional top-level output fields
versionNoApp version for a version view
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. Changed1 schema field changedv0.139.0
    • addedInput schema / properties / page
      Added value: +{
      +  "description": "Optional app page for the current view",
      +  "type": "string"
      +}
  2. Addedv0.135.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and openWorld, so the safety profile is covered. Beyond that the description adds real behavior: results are paged one page at a time for large apps, and the workspace argument is per-call only and does not mutate session defaults — useful, non-obvious context.

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, both front-loaded with the action and scope, and the paging constraint sits early where it matters. The trailing workspace clause is somewhat redundant with the schema description of the same field, which keeps it from a perfect score.

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 no output schema and six all-optional parameters, the description carries the return-value burden and does so partially by naming what the listing includes. It does not clarify what 'draft' means versus published, or how page count/ordering works, but the essentials for a correct call are present.

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%, so the schema already documents id, env, page, fields, version, and workspace — the description's workspace sentence largely restates the schema text ('Optional target for this call only... Does not change the default host'). The only genuine addition is framing the page parameter as one-page-per-request pagination.

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 uses a specific verb ('List') plus a scoped resource ('draft files of one hosted app') and enumerates the returned contents (app.json, shared files, every page). That is enough to separate it from a general file lister, though it never names the closest sibling (whodb_platform_app_page_files) to make the boundary explicit.

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 implies the use case ('read one page per request so large apps fit'), which tells an agent to iterate rather than expect everything at once. It does not state when to prefer this over the per-page or version-view siblings, nor any prerequisites such as needing an app id, leaving the choice to inference.

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