Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_bundle_export

Read-onlyIdempotent

Export selected hosted project metadata as a portable bundle for backup, migration, or sharing, while excluding secret values and optionally including size-capped uploaded file content.

Instructions

Export selected hosted project metadata as a portable bundle.

The bundle includes metadata for secrets, datasets, ontologies, transforms, functions, folders, and files. Secret values are never exported. File content is only exported when include_files is true and is capped by max_file_bytes. 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_bundle_export"
  }
}

Input 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.
include_filesNoInclude previewable uploaded file content up to max_file_bytes per file
max_file_bytesNoMaximum bytes to include per uploaded file when include_files is true

Output Schema

NameRequiredDescriptionDefault
errorNo
scopeNo
bundleNo
countsNo
commandsNo
recoveryNo
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.
error_codeNo
next_stepsNo
request_idNo
setup_statusNo
suggested_toolsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changedv0.139.0
    • addedOutput schema / properties / bundle / properties / datasets / items / properties / storageMode
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / bundle / properties / datasets / items / required
      Previous value: -[
      -  "id",
      -  "projectId",
      -  "sourceId",
      -  "name",
      -  "description",
      -  "schema",
      -  "schemaMode",
      -  "ownerId",
      -  "rowCount",
      -  "sizeBytes",
      -  "createdAt",
      -  "updatedAt"
      -]New value: +[
      +  "id",
      +  "projectId",
      +  "sourceId",
      +  "name",
      +  "description",
      +  "schema",
      +  "schemaMode",
      +  "storageMode",
      +  "ownerId",
      +  "rowCount",
      +  "sizeBytes",
      +  "createdAt",
      +  "updatedAt"
      +]
    • addedOutput schema / properties / bundle / properties / functions / items / properties / currentRunStatus
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • addedOutput schema / properties / bundle / properties / functions / items / properties / edgeRunnerId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / functions / items / properties / executionMode
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / functions / items / properties / liveBehavior
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / bundle / properties / functions / items / required
      Previous value: -[
      -  "id",
      -  "projectId",
      -  "name",
      -  "description",
      -  "language",
      -  "entryPoint",
      -  "timeoutSeconds",
      -  "memory",
      -  "cpu",
      -  "createdBy",
      -  "createdAt",
      -  "updatedAt",
      -  "files",
      -  "dependencies",
      -  "providerIds",
      -  "ontologyIds",
      -  "readOnlyOntologyIds",
      -  "providerConfigs",
      -  "secretBindings",
      -  "defaultMaxTokens",
      -  "defaultTemperature",
      -  "isDeployed",
      -  "scheduleCron",
      -  "scheduleInput",
      -  "scheduleVersion"
      -]New value: +[
      +  "executionMode",
      +  "liveBehavior",
      +  "edgeRunnerId",
      +  "currentRunStatus",
      +  "id",
      +  "projectId",
      +  "name",
      +  "description",
      +  "language",
      +  "entryPoint",
      +  "timeoutSeconds",
      +  "memory",
      +  "cpu",
      +  "createdBy",
      +  "createdAt",
      +  "updatedAt",
      +  "files",
      +  "dependencies",
      +  "providerIds",
      +  "ontologyIds",
      +  "readOnlyOntologyIds",
      +  "providerConfigs",
      +  "secretBindings",
      +  "defaultMaxTokens",
      +  "defaultTemperature",
      +  "isDeployed",
      +  "scheduleCron",
      +  "scheduleInput",
      +  "scheduleVersion"
      +]
    • addedOutput schema / properties / bundle / properties / transforms / items / properties / lastRunAt
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / transforms / items / properties / lastRunStatus
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / transforms / items / properties / liveLastError
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / transforms / items / properties / liveLastProcessedAt
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / transforms / items / properties / liveRecordsProcessed
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / transforms / items / properties / liveStatus
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / bundle / properties / transforms / items / required
      Previous value: -[
      -  "id",
      -  "projectId",
      -  "name",
      -  "description",
      -  "graphJson",
      -  "scheduleCron",
      -  "triggerMode",
      -  "createdAt",
      -  "updatedAt"
      -]New value: +[
      +  "id",
      +  "projectId",
      +  "name",
      +  "description",
      +  "graphJson",
      +  "scheduleCron",
      +  "triggerMode",
      +  "lastRunStatus",
      +  "lastRunAt",
      +  "liveStatus",
      +  "liveLastProcessedAt",
      +  "liveRecordsProcessed",
      +  "liveLastError",
      +  "createdAt",
      +  "updatedAt"
      +]
  2. Changed12 schema fields changedv0.136.0
    • addedOutput schema / properties / bundle / properties / functions / items / properties / scheduleCron
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / functions / items / properties / scheduleInput
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / functions / items / properties / scheduleLastRunAt
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • addedOutput schema / properties / bundle / properties / functions / items / properties / scheduleVersion
      Added value: +{
      +  "type": "integer"
      +}
    • changedOutput schema / properties / bundle / properties / functions / items / required
      Previous value: -[
      -  "id",
      -  "projectId",
      -  "name",
      -  "description",
      -  "language",
      -  "entryPoint",
      -  "timeoutSeconds",
      -  "memory",
      -  "cpu",
      -  "createdBy",
      -  "createdAt",
      -  "updatedAt",
      -  "files",
      -  "dependencies",
      -  "providerIds",
      -  "ontologyIds",
      -  "readOnlyOntologyIds",
      -  "providerConfigs",
      -  "secretBindings",
      -  "defaultMaxTokens",
      -  "defaultTemperature",
      -  "isDeployed"
      -]New value: +[
      +  "id",
      +  "projectId",
      +  "name",
      +  "description",
      +  "language",
      +  "entryPoint",
      +  "timeoutSeconds",
      +  "memory",
      +  "cpu",
      +  "createdBy",
      +  "createdAt",
      +  "updatedAt",
      +  "files",
      +  "dependencies",
      +  "providerIds",
      +  "ontologyIds",
      +  "readOnlyOntologyIds",
      +  "providerConfigs",
      +  "secretBindings",
      +  "defaultMaxTokens",
      +  "defaultTemperature",
      +  "isDeployed",
      +  "scheduleCron",
      +  "scheduleInput",
      +  "scheduleVersion"
      +]
    • addedOutput schema / properties / bundle / properties / ontologies / items / properties / links / items / properties / targetKind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / bundle / properties / ontologies / items / properties / links / items / properties / targetReferenceId
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / bundle / properties / ontologies / items / properties / links / items / required
      Previous value: -[
      -  "id",
      -  "apiName",
      -  "targetOntologyApiName",
      -  "cardinality",
      -  "foreignKeyProperty",
      -  "targetForeignKeyProperty",
      -  "joinTable",
      -  "sourceColumnInJoinTable",
      -  "targetColumnInJoinTable",
      -  "displayName",
      -  "pluralDisplayName",
      -  "reverseDisplayName"
      -]New value: +[
      +  "id",
      +  "apiName",
      +  "targetOntologyApiName",
      +  "cardinality",
      +  "foreignKeyProperty",
      +  "targetForeignKeyProperty",
      +  "joinTable",
      +  "sourceColumnInJoinTable",
      +  "targetColumnInJoinTable",
      +  "displayName",
      +  "pluralDisplayName",
      +  "reverseDisplayName",
      +  "targetKind",
      +  "targetReferenceId"
      +]
    • addedOutput schema / properties / error_code
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / recovery
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "LikelyCause": {
      +      "type": "string"
      +    },
      +    "NextSteps": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "LikelyCause",
      +    "NextSteps"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / retryable
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / suggested_tools
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Addedv0.135.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: secret values are never exported, and file content is opt-in via include_files with a per-file byte cap. It stops short of explaining where the bundle goes (returned payload vs written artifact) or how large it can get.

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?

Three short sentences, front-loaded with the action, then contents, then the file-control caveat. No filler, no repetition of the title, and each sentence carries distinct information.

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?

For a three-parameter read-only tool with a full output schema, the description covers scope, contents, exclusions, and file-size controls adequately. The remaining gap is the result's destination and approximate size, which an agent would want before invoking an export.

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 all three parameters including the nested workspace object are already documented, making 3 the baseline. The description reinforces the include_files/max_file_bytes relationship and the 'per-call targeting without changing defaults' semantics, but adds no syntax or constraint detail the schema does not already contain.

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 first sentence gives a specific verb and resource: "Export selected hosted project metadata as a portable bundle." The verb 'export' plus the bundle concept inherently separates it from the sibling bundle_import, bundle_import_plan, and bundle_diff tools, but the description never explicitly contrasts with them.

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?

Usage is implied rather than stated: the bundle contents list tells an agent roughly what the output is good for, and the include_files/max_file_bytes sentence hints at when file payloads are worth requesting. There is no explicit when-to-use vs when-not, and no mention of when to reach for bundle_diff or the import-plan sibling instead.

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