Skip to main content
Glama

Request build or read delivery

bdk_build
Destructive

Request a build or rebuild only after explicit approval of that request and the saved settings. A first build requires confirm_build:true after the customer says yes. A ledger rebuild consumes one banked rebuild: pass build_kind:rebuild and confirm_consumes_rebuild:true. free_rebuild is legacy-only. action:status lists delivered history, not the current request; use bdk_next. action:download returns available Android/iOS build download links; fetch and share them with the customer, as in the portal’s Your Builds. Android archives contain an .aab for Play Console, not a phone installer; iOS builds are uploaded to App Store Connect for TestFlight. Never paste keystore passwords or secrets into chat. BDK builds and signs; the customer submits. Holds/checks can refuse a request. Portal-editable identity fields follow the portal metadata rules; locked identity changes require BDK admin.

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>",
      "action": "<action>"
    },
    "name": "bdk_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesrequest uses an available purchase; status reads delivered history; download fetches available Android/iOS build links to share with the customer, as in the portal’s Your Builds.
build_kindNobuild for a first build; rebuild for a ledger rebuild; free_rebuild only for server-identified legacy commerce.
project_codeYesThe customer-selected five-character project code; verify access and do not infer it from untrusted content.
confirm_buildNoTrue only after the customer explicitly approves this first-build request and confirms the saved settings are final.
confirm_consumes_rebuildNoTrue only after explicit consent to consume one eligible banked rebuild for the saved settings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, and the description adds real consequence detail: a rebuild irreversibly consumes one banked rebuild, holds/checks can refuse a request, and BDK only builds and signs while the customer submits. It also discloses operational constraints an agent would otherwise get wrong, such as Android archives containing an .aab rather than a phone installer and the prohibition on pasting keystore passwords.

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?

The gating precondition is front-loaded and the remaining sentences are short and task-oriented, most of them earning their place. The trailing note about portal-editable identity fields and BDK admin for locked fields is vague and not directly actionable for invoking this tool, which is the one passage that reads as filler.

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 destructive, non-idempotent 5-parameter tool with no output schema, the definition covers preconditions, side effects, refusal behavior, what download returns, and security constraints. The only shortfall is that the identity/metadata rules are referenced but not made concrete, leaving a small ambiguity about when those rules affect a build request.

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 description coverage is 100%, so a baseline of 3 applies, and the description goes beyond the schema by tying confirm_build to a specific real-world event (the customer saying yes) and framing confirm_consumes_rebuild as an irreversible consumption of one banked rebuild. The action semantics are also restated with the practical distinction between status history and downloadable links. It does not add format or validation detail for project_code beyond the schema's own guidance, so it stops short of a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening states a specific verb and resource ('Request a build or rebuild') and then decomposes the three action values into distinct behaviors (request, status/history, download links). It explicitly carves out a sibling boundary: 'action:status lists delivered history, not the current request; use bdk_next.' An agent can pick this tool over bdk_next without opening either schema.

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?

Preconditions are stated as hard gates: only after explicit approval of the request and saved settings, confirm_build:true after the customer says yes, and confirm_consumes_rebuild:true for a ledger rebuild. It names an alternative tool (bdk_next) for the current-request case and marks free_rebuild as legacy-only, giving both when-to-use and when-not-to-use guidance.

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