Skip to main content
Glama

gargli_submit

Submit a contract and product snapshot to run registered QA checks and receive repair guidance for fixing failures while preserving passing interactions.

Instructions

Run the registered checks on the exact contract and snapshot. Wait for all edits and builds to finish first. Submit alone, await the receipt and keep the target unchanged until it returns. Give each changed submission a fresh request_id. Follow next_action: on revise, use repair_guidance.repair_priority first when present. Address its failing axis, check its close_when and related cases, and preserve passing interactions and keyboard access. If a requirement conflicts, describe the evidence and choose an independently fixable case. Use focus_items, measured location, and attached comparisons to fix the product. For a design repair, read design_diagnostic and compare the labeled reference, current and difference images. Use the measured pixel region, box offsets and control differences to choose an edit. Keep added accessible names. Address the reported role, order, state or interaction difference. Keep repair_guidance.protect_items passing and the criteria fixed. Call gargli_status with no arguments for its fresh snapshot and submit again in this conversation. On resubmit_stable_snapshot, confirm snapshot_recovery in current status and submit that snapshot once, without edits. On stop, report the blocker. For TIME_BUDGET, report the required and remaining reserved seconds to the operator. On report, verify current status and summarize.

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": {
      "contract": "<contract>",
      "snapshot": "<snapshot>",
      "request_id": "<request_id>"
    },
    "name": "gargli_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractYes
snapshotYes
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so substantially: it discloses the blocking wait/receipt workflow, request_id freshness, immutable target during submission, and specific handling for multiple next_action states. It still leaves some general failure and permission semantics unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core instruction is front-loaded, but the rest is a dense block of conditional directives rather than a structured workflow. Most sentences are relevant to a complex tool, but the paragraph is difficult to scan and could be organized more clearly.

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

Completeness3/5

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

This is a complex submission tool with no annotations, no output schema, and 0% schema description coverage, so the description needs to do a lot. It covers many next_action branches and operator-facing cases well, but it does not adequately explain the parameters or the return/receipt structure.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain the three parameters, but it only adds partial meaning. It clarifies that contract and snapshot must be exact and that request_id must be fresh for changed submissions, yet it never explains what contract or snapshot represent beyond names and patterns.

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 gives a specific action: run registered checks on the exact contract and snapshot. It clearly distinguishes the submission/checking role from gargli_status, which it says to call for a fresh snapshot, though it does not explicitly differentiate from gargli_register.

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?

It gives explicit timing and sequencing guidance: wait for edits and builds, submit alone, await the receipt, keep the target unchanged, and use a fresh request_id for changed submissions. It also routes the agent through next_action outcomes including revise, resubmit_stable_snapshot, stop, TIME_BUDGET, and report.

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