Skip to main content
Glama

Action Context

get_action_context
Read-only

Get the full Signal Center context for one event returned by list_open_actions. Returns its compact summary, safe allowlisted scalar evidence, and the linked proposed ActionItem (type, allowlisted inputs, completion state) when its ownership can be proven. Arbitrary payload fields are omitted and returned values are explicitly marked as untrusted data. For an eligible operator event, Preparation supplies the closed action type and a typed proposal template derived from persisted evidence, so prepare_action needs no out-of-band identifiers. The action link is derived from the already-confined event; callers cannot supply an arbitrary action-item id. Historical executed/dismissed events remain readable by id for audit. A missing or out-of-client-scope event returns the same NOT_FOUND response. Read-only: this tool never marks the event read or changes its lifecycle state.

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": {
      "eventId": "<eventId>"
    },
    "name": "get_action_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventIdYesAgent event id (GUID) returned by list_open_actions.

Output Schema

NameRequiredDescriptionDefault
okNo
actionNo
evidenceNo
preparationNo
proposedActionNo
decisionContextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the readOnly/non-destructive annotations: arbitrary payload fields are omitted, returned values are marked untrusted, the action link is derived from the already-confined event so callers cannot pass an arbitrary action-item id, and out-of-scope events return a uniform NOT_FOUND to avoid enumeration. It also reaffirms that the call never marks the event read or changes lifecycle state.

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?

Dense but front-loaded: what it returns comes first, then security constraints, then workflow, then error behavior. A few clauses restate the read-only annotation, but nearly every sentence adds operative information for the caller.

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?

With an output schema present, the description need not document return shapes, and it still sketches the returned components. For a single-parameter read tool it covers the security posture, id provenance, error semantics, and downstream handoff to prepare_action — nothing an agent needs to call it correctly is missing.

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?

The single parameter is fully documented in the schema as a GUID from list_open_actions, so the baseline is already met. The description goes further by constraining it implicitly — the event must be in client scope, arbitrary action-item ids cannot be supplied, and historical ids remain valid — which adds meaning the schema does not carry.

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 and resource ("Get the full Signal Center context for one event") and enumerates exactly what is returned: compact summary, allowlisted scalar evidence, and the linked ActionItem. It also distinguishes itself from siblings by naming list_open_actions as the source of the id and prepare_action as the downstream consumer.

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?

Clear workflow context: call it on an event id from list_open_actions, and it supplies the closed action type so prepare_action needs no out-of-band identifiers. It also notes historical executed/dismissed events remain readable for audit. It lacks an explicit "do not use this for X" exclusion, but the guidance is strong enough to route an agent correctly.

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