Skip to main content
Glama

Robot Actions — Remote Device Control

Automation session feedback

automation_session_feedback

Record a verdict on one automatically-computed failure analysis: confirm it was right, or correct the category it picked. Call automation_session_get first — this only works on a run whose failureAnalysis.source is "recorded" (an older, lazily-analysed run has nothing to give feedback on yet). failureKey picks which failure on the run when there is more than one (from failureAnalysis.failures[].failureKey); omit it on a run with exactly one. Set verdict to "correct" to confirm the latest analysis, or "incorrect" plus correctedCategory to override it. Feedback is APPEND-ONLY — nothing is ever deleted or edited — and the most recent entry becomes the effectiveVerdict the next automation_session_get / automation_report reads return. Only your own runs can be given feedback on, same ownership rule as every other automation_* tool: a foreign session reads as not found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNoOptional free-text note explaining the correction.
verdictYesWhether the latest analysis got the category right.
sessionIdYesThe run's session id.
failureKeyNoWhich failure on this run — from `failureAnalysis.failures[].failureKey`. Omit when the run has exactly one failure (the common case today).
correctedCategoryNoRequired when verdict is "incorrect" — the category it should have been.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the mutation profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false); the description adds substantial context beyond that: append-only semantics with no edit/delete, that the latest entry becomes the effectiveVerdict read back by other tools, and the ownership constraint where a foreign session reads as not found.

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?

Front-loads the core action, then prerequisites, then parameter selection, then behavioral consequences. Dense but nearly every sentence carries unique, non-redundant information; slight length and backtick-heavy references keep it from a clean 5.

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?

For a 5-param mutation tool with no output schema, it covers the full call path: prerequisite read, precondition on failureAnalysis.source, parameter selection per case, consequences (effectiveVerdict), and the ownership/permission boundary. An agent has everything needed to call it 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 coverage is 100%, so baseline is 3, but the description adds relational meaning: failureKey's source path and omission rule for single-failure runs, the correct/incorrect dichotomy, and the conditional requirement of correctedCategory when verdict is incorrect. It reinforces rather than merely repeats the schema.

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?

States a specific verb+resource: 'Record a verdict on one automatically-computed failure analysis'. It explicitly distinguishes its scope from the sibling read tools by stating it publishes feedback that automation_session_get / automation_report subsequently return, so an agent can tell it apart without opening a 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?

Gives an explicit precondition ('Call automation_session_get first — this only works on a run whose failureAnalysis.source is "recorded"'), explains the when-not case (lazily-analysed runs have nothing to give feedback on), and routes per-field usage (failureKey multiplicity, verdict=correct vs incorrect+correctedCategory).

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