Skip to main content
Glama

Record what you did

record_action

Record finished work and its outcome; it changes nothing in your human's systems. Pass signal_id, signal_version and episode, request_id for your allowed request, or work for work with no signal. get_task_context's next carries the exact call. update_finding_status changes a finding's status instead. No personal values. Details: maplith://docs/work-the-loop. Needs: a key that may act with approval or autonomously.

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": {
      "summary": "<summary>",
      "outcome": "<outcome>"
    },
    "name": "record_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoneeds_human: the person's whole next step or the reply to send; no secrets.
workNoWork with no signal or request; leave out task, resolution, episode and signal_version.
linksNoWhere a person can open the work.
titleNoneeds_human: the task's name, business thing first, no ids.
valueNoIts worth, only as your human or their systems state it; do not estimate.
tokensNoOptional: the tokens you used, as your client counts them; shown as reported by the agent.
episodeNoThe episode as read; once a newer episode exists, nothing is recorded.
outcomeYesdone (settled) or skipped (did not matter), with a resolution; needs_human: a person takes it.
summaryYesWhat you did, at most 500 characters.
signal_idNoThe signal you worked on. Not with request_id.
task_typeNo'reply' for a drafted reply; default 'change'.
request_idNoYour allowed or approved request's request_id, from request_action.
resolutionNofixed, not_an_issue or wont_fix, for done or skipped; unsure: needs_human.
signal_versionNoThe signal's created_at as read; a limited key must send it. Omit with work; empty for a request with no signal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • changedInput schema / properties / episode / description
      Previous value: -"The episode you worked on, as you read it; if the signal has since come back as a new episode, nothing is recorded."New value: +"The episode as read; once a newer episode exists, nothing is recorded."
    • changedInput schema / properties / links / description
      Previous value: -"Where the work landed, if anywhere a person can open."New value: +"Where a person can open the work."
    • changedInput schema / properties / outcome / description
      Previous value: -"done: settled, with a resolution. needs_human: a person decides, as task says. skipped: did not matter, with a resolution. With work: done or skipped."New value: +"done (settled) or skipped (did not matter), with a resolution; needs_human: a person takes it."
    • changedInput schema / properties / request_id / description
      Previous value: -"The request_id request_action returned, for the outcome of your own allowed or approved request; it is recorded against that request."New value: +"Your allowed or approved request's request_id, from request_action."
    • changedInput schema / properties / resolution / description
      Previous value: -"fixed, not_an_issue or wont_fix: required with done or skipped on an unsettled signal. Cannot say? Record needs_human instead."New value: +"fixed, not_an_issue or wont_fix, for done or skipped; unsure: needs_human."
    • changedInput schema / properties / signal_id / description
      Previous value: -"The signal from list_signals or get_task_context. Leave it out when you pass request_id."New value: +"The signal you worked on. Not with request_id."
    • changedInput schema / properties / signal_version / description
      Previous value: -"The signal's created_at as read; a limited key must send it. Scans move it: re-read. Omit with work; empty for a request naming no signal."New value: +"The signal's created_at as read; a limited key must send it. Omit with work; empty for a request with no signal."
    • changedInput schema / properties / summary / description
      Previous value: -"One or two sentences on what you did. Max 500 characters."New value: +"What you did, at most 500 characters."
    • changedInput schema / properties / task / description
      Previous value: -"With needs_human: the person's next step, whole: the exact change (where, what, why, how to check) or the reply to send; no secrets."New value: +"needs_human: the person's whole next step or the reply to send; no secrets."
    • changedInput schema / properties / title / description
      Previous value: -"With needs_human: a short name for the task, at most 80 characters: the business thing first, no ids."New value: +"needs_human: the task's name, business thing first, no ids."
    • changedInput schema / properties / tokens / description
      Previous value: -"Optional: the tokens you used on this work, as your client counts them; shown as reported by the agent."New value: +"Optional: the tokens you used, as your client counts them; shown as reported by the agent."
    • changedInput schema / properties / value / description
      Previous value: -"What it was worth in your human's own numbers, only when they or their systems state it; never estimate."New value: +"Its worth, only as your human or their systems state it; do not estimate."
    • changedInput schema / properties / value / properties / amount / description
      Previous value: -"A non-negative amount, kept to two decimals."New value: +"Non-negative, two decimals."
    • changedInput schema / properties / value / properties / basis / description
      Previous value: -"'stated' (the default) when a person or a system stated the figure; 'none' records no value."New value: +"stated (default): a person or system stated it; none: no value."
    • changedInput schema / properties / value / properties / currency / description
      Previous value: -"A three-letter code such as DKK or EUR."New value: +"Three letters, e.g. DKK."
    • changedInput schema / properties / work / description
      Previous value: -"Work with no signal or request: kind, objects, system and optional at. Leave out task, resolution, episode and signal_version."New value: +"Work with no signal or request; leave out task, resolution, episode and signal_version."
    • changedInput schema / properties / work / properties / at / description
      Previous value: -"ISO timestamp with timezone, within the last 90 days, never future; default now."New value: +"ISO time with zone in the last 90 days; default now."
    • changedInput schema / properties / work / properties / objects / description
      Previous value: -"Map object name → a non-personal case reference; also name the client or channel, never a person. Empty counts the work alone."New value: +"Map object → a case reference; also name the client or channel, never a person. {} counts the work alone."
    • changedInput schema / properties / work / properties / system / description
      Previous value: -"The system you did the work in, as list_sources or the product names it; never a link, address or person."New value: +"The system you worked in, by name; not a link or a person."
  2. Changed1 schema field changed
    • addedInput schema / properties / title
      Added value: +{
      +  "description": "With needs_human: a short name for the task, at most 80 characters: the business thing first, no ids.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / value / description
      Previous value: -"What it was worth in your human's own numbers, only when they or their systems state it; never estimate. Leave out when nothing states it."New value: +"What it was worth in your human's own numbers, only when they or their systems state it; never estimate."
  4. Changed10 schema fields changed
    • changedInput schema / properties / episode / description
      Previous value: -"The episode you worked on, as list_signals or get_task_context returned it. If the signal has since closed and come back as a new episode, nothing is recorded and you are told so."New value: +"The episode you worked on, as you read it; if the signal has since come back as a new episode, nothing is recorded."
    • changedInput schema / properties / outcome / description
      Previous value: -"With work: done or skipped, without a resolution. On a signal, done: settled (with a resolution). needs_human: you got as far as you could; a person decides, and task says what they do next. skipped: it turned out not to matter (with a resolution)."New value: +"done: settled, with a resolution. needs_human: a person decides, as task says. skipped: did not matter, with a resolution. With work: done or skipped."
    • changedInput schema / properties / request_id / description
      Previous value: -"The request_id request_action returned, when this is the outcome of a request you were allowed (or approved) to carry out. Only your own key's requests. If the signal the request named is gone or no longer readable by your key, the outcome is recorded against the request alone and no signal is closed; if that signal still waits for work, it is handed to a person, so no other agent repeats it."New value: +"The request_id request_action returned, for the outcome of your own allowed or approved request; it is recorded against that request."
    • changedInput schema / properties / resolution / description
      Previous value: -"What came of it — required with outcome 'done' or 'skipped' on a signal that is not settled yet. If you cannot say, record outcome 'needs_human' instead, so a person decides."New value: +"fixed, not_an_issue or wont_fix: required with done or skipped on an unsettled signal. Cannot say? Record needs_human instead."
    • changedInput schema / properties / signal_version / description
      Previous value: -"The signal's created_at exactly as list_signals or get_task_context returned it, so Maplith knows which version of the signal your summary is about. When recording a signal, a key limited to part of the map must send signal_version: if you leave it out, or a scan re-stamped the signal after you read it, nothing is recorded and you are told to read the signal again. When you pass a request_id whose request named no signal there is no version to name: pass an empty string. Omit signal_version with work. Every scan that emits a signal again moves its version, whether or not anything about the signal changed, so read it again and look before you record. For a key that sees the whole map the record is still kept in those cases, but is hidden from keys limited to part of the map, and those keys keep seeing the signal as not acted: list_signals with unacted: true hands it to them until someone records against its current created_at."New value: +"The signal's created_at as read; a limited key must send it. Scans move it: re-read. Omit with work; empty for a request naming no signal."
    • changedInput schema / properties / task / description
      Previous value: -"With needs_human: what the person does next, whole — the exact change (where, from what to what, why, how to check) or the reply to send. A task, not an approval. Max 2,600 characters, no secrets. Recorded again on a signal waiting on your task, it updates that task."New value: +"With needs_human: the person's next step, whole: the exact change (where, what, why, how to check) or the reply to send; no secrets."
    • changedInput schema / properties / value / description
      Previous value: -"What this action was worth, in your human's own numbers, when they or their systems state it — the ad spend stopped on a sold-out product, the refund avoided. Only a stated figure: never estimate one. Leave it out when nothing states it; an action without a value stays unstated and is counted as such in get_value_summary."New value: +"What it was worth in your human's own numbers, only when they or their systems state it; never estimate. Leave out when nothing states it."
    • changedInput schema / properties / work / description
      Previous value: -"Work with no signal/request; object names exactly as the map shows. References name things (edition, page, order), never people. Repeats can become a draft for an admin at the next scan. No task, resolution, episode or signal_version."New value: +"Work with no signal or request: kind, objects, system and optional at. Leave out task, resolution, episode and signal_version."
    • changedInput schema / properties / work / properties / objects / description
      Previous value: -"Object name → non-personal case reference. Also name the client or channel the work was for, never a person. Empty is a count without a process case. For a key that sees the whole map, a name the map lacks goes on the map as auto-detected once reports name it three times over two days."New value: +"Map object name → a non-personal case reference; also name the client or channel, never a person. Empty counts the work alone."
    • changedInput schema / properties / work / properties / system / description
      Previous value: -"The system you did the work in, as list_sources names it or as the product writes its name. Tells the next agent where this work happens; never a link, an address or a person."New value: +"The system you did the work in, as list_sources or the product names it; never a link, address or person."
  5. Changed1 schema field changed
    • addedInput schema / properties / tokens
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional: the tokens you used on this work, as your client counts them; shown as reported by the agent.",
      +  "properties": {
      +    "input": {
      +      "description": "Input tokens.",
      +      "maximum": 100000000,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "output": {
      +      "description": "Output tokens.",
      +      "maximum": 100000000,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "input",
      +    "output"
      +  ],
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • changedInput schema / properties / work / properties / objects / description
      Previous value: -"Object name → non-personal case reference. Also name the client or channel the work was for, never a person. Empty is a count without a process case. For a key that sees the whole map, a name the map lacks is kept as a proposal for a person, never added on its own."New value: +"Object name → non-personal case reference. Also name the client or channel the work was for, never a person. Empty is a count without a process case. For a key that sees the whole map, a name the map lacks goes on the map as auto-detected once reports name it three times over two days."
  7. Changed1 schema field changed
    • changedInput schema / properties / work / properties / objects / description
      Previous value: -"Object name → non-personal case reference. Empty is a count without a process case. For a key that sees the whole map, a name the map lacks is kept as a proposal for a person, never added on its own."New value: +"Object name → non-personal case reference. Also name the client or channel the work was for, never a person. Empty is a count without a process case. For a key that sees the whole map, a name the map lacks is kept as a proposal for a person, never added on its own."
  8. Changed2 schema fields changed
    • changedInput schema / properties / work / properties / objects / description
      Previous value: -"Object name → non-personal case reference. Empty is a count without a process case."New value: +"Object name → non-personal case reference. Empty is a count without a process case. For a key that sees the whole map, a name the map lacks is kept as a proposal for a person, never added on its own."
    • addedInput schema / properties / work / properties / system
      Added value: +{
      +  "description": "The system you did the work in, as list_sources names it or as the product writes its name. Tells the next agent where this work happens; never a link, an address or a person.",
      +  "maxLength": 60,
      +  "type": "string"
      +}
  9. Changed1 schema field changed
    • changedInput schema / properties / work / description
      Previous value: -"Work with no signal/request; object names exactly as the map shows. References name things (edition, page, order), never people. No task, resolution, episode or signal_version."New value: +"Work with no signal/request; object names exactly as the map shows. References name things (edition, page, order), never people. Repeats can become a draft for an admin at the next scan. No task, resolution, episode or signal_version."
  10. Changed3 schema fields changed
    • changedInput schema / properties / outcome / description
      Previous value: -"done: settled (with a resolution). needs_human: you got as far as you could; a person decides, and task says what they do next. skipped: it turned out not to matter (with a resolution)."New value: +"With work: done or skipped, without a resolution. On a signal, done: settled (with a resolution). needs_human: you got as far as you could; a person decides, and task says what they do next. skipped: it turned out not to matter (with a resolution)."
    • changedInput schema / properties / signal_version / description
      Previous value: -"The signal's created_at exactly as list_signals or get_task_context returned it, so Maplith knows which version of the signal your summary is about. Required when your key is limited to part of the map: if you leave it out, or a scan re-stamped the signal after you read it, nothing is recorded and you are told to read the signal again. When you pass a request_id whose request named no signal there is no version to name: pass an empty string. Every scan that emits a signal again moves its version, whether or not anything about the signal changed, so read it again and look before you record. For a key that sees the whole map the record is still kept in those cases, but is hidden from keys limited to part of the map, and those keys keep seeing the signal as not acted: list_signals with unacted: true hands it to them until someone records against its current created_at."New value: +"The signal's created_at exactly as list_signals or get_task_context returned it, so Maplith knows which version of the signal your summary is about. When recording a signal, a key limited to part of the map must send signal_version: if you leave it out, or a scan re-stamped the signal after you read it, nothing is recorded and you are told to read the signal again. When you pass a request_id whose request named no signal there is no version to name: pass an empty string. Omit signal_version with work. Every scan that emits a signal again moves its version, whether or not anything about the signal changed, so read it again and look before you record. For a key that sees the whole map the record is still kept in those cases, but is hidden from keys limited to part of the map, and those keys keep seeing the signal as not acted: list_signals with unacted: true hands it to them until someone records against its current created_at."
    • addedInput schema / properties / work
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Work with no signal/request; object names exactly as the map shows. References name things (edition, page, order), never people. No task, resolution, episode or signal_version.",
      +  "properties": {
      +    "at": {
      +      "description": "ISO timestamp with timezone, within the last 90 days, never future; default now.",
      +      "maxLength": 40,
      +      "type": "string"
      +    },
      +    "kind": {
      +      "description": "Short work kind, e.g. newsletter.published.",
      +      "maxLength": 60,
      +      "pattern": "^[a-z][a-z0-9_]*(?:\\.[a-z][a-z0-9_]*)*$",
      +      "type": "string"
      +    },
      +    "objects": {
      +      "additionalProperties": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "description": "Object name → non-personal case reference. Empty is a count without a process case.",
      +      "maxProperties": 5,
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "objects"
      +  ],
      +  "type": "object"
      +}
  11. Changed1 schema field changed
    • addedInput schema / properties / outcome / description
      Added value: +"done: settled (with a resolution). needs_human: you got as far as you could; a person decides, and task says what they do next. skipped: it turned out not to matter (with a resolution)."
  12. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, so the safety profile is partly covered; the description adds real value by stating the write stays internal ('changes nothing in your human's systems'), disclosing the auth requirement ('a key that may act with approval or autonomously'), and imposing a 'No personal values' constraint. It stops short of saying what happens on stale episode rejection or on failure, 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.

Conciseness4/5

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

Front-loaded with purpose and scope in the first clause, then modes, then alternative, then constraints, then a doc pointer — every sentence earns its place for a 14-parameter tool. It is telegraphic to the point of fragmentation ('No personal values. Details: maplith://docs/work-the-loop.'), which slightly hurts readability.

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 tool with nested objects and no output schema, the description covers purpose, mode selection, auth, data constraints, the sibling alternative, and where to look for exact parameters. It does not describe what a successful record returns or how conflicts/duplicates resolve, leaving a modest gap.

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 the baseline would be 3, but the description adds cross-parameter grouping absent from the schema: it explains the three mutually exclusive identification modes and which parameters belong to each. That routing meaning is genuinely new information beyond the per-field descriptions.

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?

Names a specific verb and resource ('Record finished work and its outcome') and immediately bounds scope with 'it changes nothing in your human's systems'. It also explicitly distinguishes itself from update_finding_status, so an agent can tell the two apart without opening schemas.

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 mode selection: signal_id + signal_version + episode, or request_id, or work for signal-less work, and points to get_task_context's 'next' as the authoritative call. It also names the alternative for a different job (update_finding_status) and states the exclusion condition.

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