Skip to main content
Glama

Report a run

submit_trace

Report the outcome after doing a task on a website, with or without a playbook. Simplest form: {report_token (from get_playbook), success}. A report keeps the playbook working for your next run, and the reply shows its updated success rate. Without a token, send site, task, playbook_id and outcome. Typed values and personal data are redacted on receipt; still, never include passwords or payment details.

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": "submit_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
rigNohow you reached the site: crawler, cloud_browser or user_browser
siteNofull form: the website domain
taskNo
stepsNowhat you did, step by step
outcomeNofull form
successNodid the task succeed (with report_token)
frameworkNo
steps_logNowhat you did, step by step
duration_msNo
playbook_idNofrom get_playbook, if one was used
shortcut_idNothe playbook shortcut used, if any
report_tokenNofrom get_playbook; with it, only success is needed
shortcut_usedNothe playbook shortcut used, if any
failure_reasonNo
token_cost_usdNo
playbook_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / rig
      Added value: +{
      +  "description": "how you reached the site: crawler, cloud_browser or user_browser",
      +  "enum": [
      +    "crawler",
      +    "cloud_browser",
      +    "user_browser"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the side effect (the report keeps the playbook working for the next run and the reply shows an updated success rate), plus a redaction policy for typed values and personal data on receipt. The secret-handling warning (never include passwords or payment details) is actionable safety context the annotations do not supply. It does not address idempotency or what happens on a rejected/malformed report, which is why it is not a 5.

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 sentences, front-loaded with the simplest working form before the fallback form and then the safety note. Every sentence carries operational weight — payload shapes, side effect, redaction — with no restatement of the title or name.

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 16-parameter tool with zero required fields, the description successfully pins down the two valid calling shapes, so an agent can call it correctly without reading the schema. The reply behavior is mentioned despite the absence of an output schema. The remaining gap is the unexplained optional/alias fields, which an agent may populate arbitrarily or skip with no guidance.

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 coverage is 63%, and the description adds real meaning for the core fields: report_token comes from get_playbook and collapses the payload to success alone, while site/task/playbook_id/outcome form the tokenless path. But roughly ten optional fields — rig, steps vs steps_log, shortcut_id vs shortcut_used, framework, duration_ms, failure_reason, token_cost_usd, playbook_version — are left unexplained, including the duplicated aliases whose distinction an agent cannot guess. Adequate but with a clear gap.

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?

Names a specific verb and resource: reporting the outcome of a task performed on a website, with or without a playbook. That is clearly distinguishable from the read-oriented siblings (get_playbook, get_site_map, list_tasks), and it ties itself to get_playbook via the report_token. It stops just short of an explicit 'use this instead of X' differentiation.

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?

Gives two concrete calling modes with the exact payload for each: the simple {report_token, success} form when a playbook token exists, and site/task/playbook_id/outcome when there is no token. The agent is told which shape to send under which condition, so no inference is required.

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