Skip to main content
Glama

Mobilebox: Cloud phones for your agents

Publish proof

publish_proof

Publish this run's proof for a pull request: returns Markdown to post as the PR comment (passed or failed, duration and cost from the phone's session, up to 3 screenshots, and a link to the screen recording if record_screen started one) and the screenshot URLs. Pick the screens the reviewer needs: "current" is the screen now; an image URL from an earlier publish_proof pins that screen. Before/after: install main's build, open the screen the PR changes, publish_proof with title "Before" (don't post it) and keep its image URL; install the PR's build, open the same screen, publish_proof with screenshots [that URL, "current"] and labels ["Before", "After"], and post that Markdown: the two show side by side. Screenshots are image files at unguessable URLs, deleted after 30 days. Call it when the test is done and before delete_phone.

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": {
      "phone_id": "<phone_id>",
      "title": "<title>",
      "status": "<status>"
    },
    "name": "publish_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesWhat the run tested, in a few words, e.g. "Login flow"
labelsNoOptional: one short name per screenshot, e.g. ["Before", "After"]; the screenshots then show side by side under them
statusYespassed or failed
phone_idYesPhone id, ph_…
screenshotsNo"current" for the screen now, an image URL from an earlier proof of this workspace, or base64 PNGs; leave out for one screenshot of the current screen
idempotency_keyNoAny unique value, e.g. a UUID. Retrying with the same key and proof returns the same proof instead of a second one (24 h).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / labels
      Added value: +{
      +  "description": "Optional: one short name per screenshot, e.g. [\"Before\", \"After\"]; the screenshots then show side by side under them",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 3,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / screenshots / description
      Previous value: -"\"current\" for the screen now, or base64 PNGs; leave out for one screenshot of the current screen"New value: +"\"current\" for the screen now, an image URL from an earlier proof of this workspace, or base64 PNGs; leave out for one screenshot of the current screen"
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-destructive and open-world behavior, so the description is not carrying the full safety burden. It adds useful context: screenshots are at unguessable URLs, deleted after 30 days, and a link to the screen recording is included only if record_screen started one. It doesn't discuss auth or idempotency, but those are largely covered elsewhere.

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 description is one dense paragraph rather than a bulleted recipe, and the before/after workflow makes it long. However, it is front-loaded with the purpose and every sentence conveys usable information, with little repetition.

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

Completeness5/5

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

There is no output schema, but the description explains the return values (Markdown, screenshot URLs, optional recording link) and the key workflow. With 6 parameters, 3 required, and full schema coverage, this description is complete enough for an agent to call the tool correctly.

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 the schema already documents parameters well. The description still adds meaning by showing a concrete before/after combination of screenshots ['URL', 'current'] and labels ['Before', 'After'], which is more than the schema's individual field descriptions.

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 description states a specific verb and resource: 'Publish this run's proof for a pull request'. It also specifies the return value ('returns Markdown to post as the PR comment' plus screenshot URLs), which makes the tool's role unmistakable against siblings like screenshot or record_screen.

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

Usage Guidelines4/5

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

It gives clear call timing ('Call it when the test is done and before delete_phone') and a detailed before/after recipe. It doesn't explicitly say when not to use publish_proof, but the sequencing constraint and the 'don't post it' note for the Before proof cover the main pitfalls.

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.