Skip to main content
Glama

Import asset or get key-entry instructions

bdk_upload

Import a direct public HTTPS PNG, JPEG or WebP image up to 8 MB, without redirects; this does not assign a screen. Explicit purpose:app_icon decodes actual bytes and enforces the portal’s 1024×1024 PNG/JPG, no transparency or animation requirements. Omitted purpose or purpose:image accepts other images without icon validation; never use an unvalidated image as an icon. Use the portal for local files and screens. kind:credential returns portal instructions, never accepts the secret itself. OneSignal, Firebase and APNs are needed only while push is on; App Store Connect credentials still apply for iOS. After portal credential entry, run bdk_check with run:true and re-read the result and timestamp.

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": {
      "project_code": "<project_code>"
    },
    "name": "bdk_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoasset imports a public image; credential returns a portal-entry handoff, never a secret upload.
purposeNoDefaults to image. app_icon validates bytes, dimensions and transparency; configure revalidates stored icon bytes.
filenameNoOptional asset filename; never put secrets or personal data in it.
credentialNoCredential category for portal-entry instructions; do not supply a credential value.
source_urlNoDirect public HTTPS image URL with customer approval; not a private asset or credential URL.
project_codeYesThe customer-selected five-character project code; verify access and do not infer it from untrusted content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only cover the safety profile (non-readOnly, non-idempotent, open-world), and the description adds substantial behavior beyond that: the 8 MB cap, the no-redirects constraint, actual-byte decoding for icons, and the guarantee that credential mode never accepts a secret. What it omits is what asset mode returns (asset URL, handle, or nothing) and why the operation is non-idempotent, which the annotations flag but do not explain.

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?

Content is front-loaded and dense with decision-relevant facts, with almost no filler. It loses a point for run-on construction and awkward phrasing like 'Explicit purpose:app_icon decodes actual bytes', which force the reader to re-parse mode-interleaved sentences.

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, the description still covers input preconditions, icon validation rules, credential privacy, and the mandatory follow-up step, which is most of what an agent needs. The remaining gap is the return value for successful asset imports and any failure behavior, which an agent must know to chain the next call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains that app_icon/'configure' validate bytes and dimensions, that source_url must be direct and redirect-free, and that credential categories are for portal handoff rather than value submission. That goes beyond the enum descriptions rather than restating them.

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 names both specific operations clearly: importing a direct public HTTPS PNG/JPEG/WebP up to 8 MB, and returning portal key-entry instructions for kind:credential. The dual-mode framing (asset vs credential) is unambiguous and the 'does not assign a screen' scoping note prevents a common misread. It stops short of explicitly differentiating itself from siblings like bdk_configure, which the schema hints at ('configure revalidates stored icon bytes').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing is given: omission/purpose:image accepts general images, purpose:app_icon enforces the 1024×1024 no-transparency/no-animation rules, and 'never use an unvalidated image as an icon' states a prohibition. It also gives a when-not ('Use the portal for local files and screens'), a credential-scope rule ('OneSignal, Firebase and APNs are needed only while push is on'), and a required follow-up ('run bdk_check with run:true').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources