Skip to main content
Glama

Report Agent Action

report-agent-action

Report a mutating agent action under a stable workflow-execution-id (ULID). First call for an id creates the workflow_executions row; later calls append Activity timeline rows (AGENT_WORKFLOW_ACTIVITY). Preferred first call after minting a ULID: entityType WORKFLOW + actionType WORKFLOW_STARTED (opens RUNNING without completing). Plan-done is upsert-plans-support-file of the .plan.md (parks PLANNED when approval is pending; PlanApproved re-upsert → PLAN_APPROVED). Close with ACTION_COMPLETED / ACTION_FAILED. Actions land on the entity's Activity timeline (plans, issues, SmartTest file). entityType: USER_STORY | SCENARIO | SMART_TEST | POLICY | ISSUE | TEST_EXECUTION | TEST_INVOCATION_BATCH | EXPLORATION | EVENT | WORKFLOW. actionType: CREATED | UPDATED | DELETED | ANALYZED | IMPLEMENTED | WORKFLOW_STARTED | ACTION_COMPLETED | ACTION_FAILED. Identity: SMART_TEST uses test (TestLocator: folderPath/fileName/testSuite/testName); other artifact types use entityIdentity (ordinal / filename / opaque id). Do not use platform UUIDs. WORKFLOW lifecycle (WORKFLOW_STARTED / ACTION_COMPLETED / ACTION_FAILED): entityIdentity = catalog workflow_id.

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": {
      "workflowId": "<workflowId>",
      "workflowExecutionId": "<workflowExecutionId>",
      "entityType": "<entityType>",
      "actionType": "<actionType>"
    },
    "name": "report-agent-action"
  }
}

Input Schema

NameRequiredDescriptionDefault
testNo
botIdNoQA bots: your botId from your stored TestChimp binding.
gitShaNo
userIdNo
actorTypeNo
projectIdNoThe TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.
actionTypeYes
agentModelNo
branchNameNo
cliVersionNo
entityTypeYes
policyFileNo
workflowIdYes
skillVersionNo
traceabilityNo
policyVersionNo
projectApiKeyNoProject API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it.
entityIdentityNo
chimphandsSessionIdNo
workflowExecutionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / projectApiKey / description
      Previous value: -"QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it."New value: +"Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it."
    • addedInput schema / properties / projectId
      Added value: +{
      +  "description": "The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / actionType / enum
      Previous value: -[
      -  "CREATED",
      -  "UPDATED",
      -  "DELETED",
      -  "ANALYZED",
      -  "ACTION_COMPLETED",
      -  "ACTION_FAILED",
      -  "IMPLEMENTED",
      -  "created",
      -  "updated",
      -  "deleted",
      -  "analyzed",
      -  "completed",
      -  "failed",
      -  "action_completed",
      -  "action_failed",
      -  "implemented"
      -]New value: +[
      +  "CREATED",
      +  "UPDATED",
      +  "DELETED",
      +  "ANALYZED",
      +  "ACTION_COMPLETED",
      +  "ACTION_FAILED",
      +  "IMPLEMENTED",
      +  "WORKFLOW_STARTED",
      +  "created",
      +  "updated",
      +  "deleted",
      +  "analyzed",
      +  "completed",
      +  "failed",
      +  "action_completed",
      +  "action_failed",
      +  "implemented",
      +  "workflow_started"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / chimphandsSessionId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / botId
      Added value: +{
      +  "description": "QA bots: your botId from your stored TestChimp binding.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / projectApiKey
      Added value: +{
      +  "description": "QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it.",
      +  "maxLength": 256,
      +  "minLength": 8,
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already disclose readOnlyHint=false and idempotentHint=false, but the description adds substantive behavior: it explains row creation vs. timeline append, RUNNING/PLANNED workflow state effects, and where actions land. It also warns not to use platform UUIDs and defines identity conventions, which is valuable beyond the annotations.

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 content is valuable but densely packed into one long paragraph, and it redundantly lists enum values already present in the schema for entityType and actionType. It is reasonably front-loaded with the core purpose, but the structure could be more scannable for a 20-parameter tool.

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 complex mutation tool with no output schema and many parameters, the description is complete on lifecycle, identity, and timing behavior. It relies on schema descriptions for a few optional fields and does not explain return values, but those are less critical here.

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?

With 20 parameters and only 15% schema description coverage, the description carries significant semantic load by explaining entityType, actionType, workflowExecutionId, workflowId, SMART_TEST's `test` locator, and entityIdentity rules. It does not cover every optional field (e.g., traceability, cliVersion), but it covers the parameters that determine correct invocation.

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: 'Report a mutating agent action under a stable workflow-execution-id'. It also distinguishes a related workflow ('Plan-done is upsert-plans-support-file') and names the exact lifecycle actions, so an agent can identify it without seeing siblings.

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 explicit lifecycle guidance: first call creates the workflow_executions row, later calls append timeline rows, use WORKFLOW_STARTED first, and close with ACTION_COMPLETED/ACTION_FAILED. It also calls out the alternative for plan-done and the required identity rules, leaving little ambiguity about when to call it.

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.