Skip to main content
Glama

Samuelz® Agent

Report a work turn

report_work_turn
Idempotent

Record accepted work and bounded evidence. A running report starts/resumes exactly the task whose current Owner-confirmed work.session_start.v1 policy explicitly enables startOnReport; without that flag ordinary reports do not start models. Optional session start uses the same policy/price/budget/ledger workflow. Never repeat an uncertain create. Read get_work_context for the artifact; completion needs its root evidenceRef, exact reviewRef and contractual checks. Usage observations remain provisional, never final invoices. No business tool authority is granted. POST /api/v1/tenant/write/report_work_turn.

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": {
      "roleKey": "<roleKey>",
      "workId": "<workId>",
      "runKey": "<runKey>",
      "status": "<status>",
      "summary": "<summary>",
      "evidence": "<evidence>",
      "contextRevision": "<contextRevision>",
      "requestKey": "<requestKey>"
    },
    "name": "report_work_turn"
  }
}

Input Schema

NameRequiredDescriptionDefault
runKeyYes
statusYes
workIdYes
roleKeyYes
sessionNo
summaryYes
evidenceYes
requestKeyYes
failureCodeNo
improvementNo
qualityChecksNo
contextRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / session / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "prepare",
      -        "type": "string"
      -      },
      -      "providerKey": {
      -        "pattern": "^[a-z][a-z0-9_-]{0,31}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "providerKey"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "attach",
      -        "type": "string"
      -      },
      -      "providerKey": {
      -        "pattern": "^[a-z][a-z0-9_-]{0,31}$",
      -        "type": "string"
      -      },
      -      "sessionId": {
      -        "pattern": "^[A-Za-z0-9_-]{1,96}$",
      -        "type": "string"
      -      },
      -      "turnId": {
      -        "pattern": "^[A-Za-z0-9_-]{1,96}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "providerKey",
      -      "sessionId",
      -      "turnId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "start",
      -        "type": "string"
      -      },
      -      "policy": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "moduleKey": {
      -            "maxLength": 250,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "policyKey": {
      -            "maxLength": 250,
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "moduleKey",
      -          "policyKey"
      -        ],
      -        "type": "object"
      -      },
      -      "providerKey": {
      -        "pattern": "^[a-z][a-z0-9_-]{0,31}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "providerKey",
      -      "policy"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "prepare",
      +        "type": "string"
      +      },
      +      "providerKey": {
      +        "pattern": "^[a-z][a-z0-9_-]{0,31}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "attach",
      +        "type": "string"
      +      },
      +      "providerKey": {
      +        "pattern": "^[a-z][a-z0-9_-]{0,31}$",
      +        "type": "string"
      +      },
      +      "sessionId": {
      +        "pattern": "^[A-Za-z0-9_-]{1,96}$",
      +        "type": "string"
      +      },
      +      "turnId": {
      +        "pattern": "^[A-Za-z0-9_-]{1,96}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "sessionId",
      +      "turnId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "start",
      +        "type": "string"
      +      },
      +      "policy": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "moduleKey": {
      +            "maxLength": 250,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "policyKey": {
      +            "maxLength": 250,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "moduleKey",
      +          "policyKey"
      +        ],
      +        "type": "object"
      +      },
      +      "providerKey": {
      +        "pattern": "^[a-z][a-z0-9_-]{0,31}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "policy"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: session start is policy-gated rather than automatic, uncertain creates must not be retried, and usage observations are provisional and never final invoices. Given idempotentHint=true is already declared, the retry warning reinforces rather than repeats it. It does not describe what the response returns or what happens on a rejected status transition, which keeps it below 5.

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?

Front-loads the core action and has no filler sentences, but the prose is compressed to the point of opacity: "Usage observations remain provisional, never final invoices" and the startOnReport clause demand repeated parsing. Several distinct rules (policy gating, idempotency, evidence, authority) are run together in a single dense block rather than separated.

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?

For a 12-parameter mutation with nested session unions, zero schema coverage and no output schema, the description does more than typical — it covers policy gating, idempotency, evidence requirements and authority limits. It never indicates what a successful report returns, and key mutation fields (qualityChecks, failureCode, improvement, contextRevision) are left for the agent to guess from the raw schema.

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 description coverage is 0% across 12 parameters, so the description must carry the load. It does explain the hardest part — that session start uses the same policy/price/budget/ledger workflow and that completion depends on a root evidenceRef and exact reviewRef — but leaves contextRevision, requestKey, qualityChecks, improvement, failureCode, workId and runKey entirely unexplained.

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?

States a specific verb and resource: "Record accepted work and bounded evidence," and names the concrete endpoint POST /api/v1/tenant/write/report_work_turn. It distinguishes itself from the read-side sibling by pointing to get_work_context rather than duplicating it, so an agent can tell what this tool does versus its neighbors, though the vocabulary ("accepted work," "bounded evidence") requires product familiarity.

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?

Gives real conditional guidance: a running report only starts a model when the Owner-confirmed work.session_start.v1 policy explicitly enables startOnReport, otherwise it is an ordinary report. It also routes the agent elsewhere ("Read get_work_context for the artifact") and states a hard exclusion ("Never repeat an uncertain create," "No business tool authority is granted"), though it never enumerates when to prefer blocking status values over others.

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