Skip to main content
Glama
aks129

HealthClawGuardrails

by aks129

Action Status

action_status
Read-only

Determine the status and outcome of a clinical action, including patient approval or decline, to report the final result.

Instructions

Check the status and outcome of an action (proposed/awaiting_confirmation/executing/completed/failed/needs_review/unknown/expired/declined). declined means the patient read the proposal and said no - never re-propose the same action unasked. needs_review means it ran but the outcome could not be confirmed - show the patient the evidence. unknown means the provider MAY have acted - never re-propose the same action. Use after action_commit to see whether the patient has approved yet, and to report the final result back to them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
action_idYesID returned by action_propose

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.8.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, aligning with the 'check' verb. The description adds behavioral context beyond annotations by explaining the implications of specific statuses (declined, needs_review, unknown) and prescribing follow-up actions, which prevents inappropriate re-proposals. No contradiction exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is comprehensive yet efficient, starting with the purpose and status list, then explaining critical statuses with actionable guidance, and ending with usage context. Every sentence adds value with no filler, and the main function is front-loaded.

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 single-parameter read-only status tool with no output schema, the description covers the tool's function, all possible outcomes, their meanings, and when to use it. The only minor gap is not explicitly describing the return structure, but the status enumeration implies it. Given the simplicity and annotations, this is nearly complete.

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?

The single parameter action_id is described in the schema as 'ID returned by action_propose', and the description also mentions action_propose, reinforcing its origin. Schema coverage is 100%, so the description does not add extra detail; baseline 3 is appropriate since the parameter is fully documented.

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?

The description clearly states the tool's purpose: to check the status and outcome of an action, enumerating all possible statuses. It differentiates from siblings by referencing action_commit and action_propose, making it evident this is a read-only status query rather than a creation or confirmation tool.

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?

The description explicitly instructs usage after action_commit to check patient approval and report the final result. It also provides conditional guidance: never re-propose for declined or unknown, and show evidence for needs_review. This gives clear when-to-use and when-not-to-use advice relative to alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.