Skip to main content
Glama
rudimentall1

agent-guardrail

guardrail_record_outcome

Record the success or error outcome of a previously-checked action to maintain an audit trail.

Instructions

Record the real-world outcome (success/error) of a previously-checked action, for the audit trail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outcomeYes
request_idYes
Behavior2/5

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

With no annotations provided, the description carries the full burden. It identifies the action as recording for an audit trail but does not disclose whether it overwrites existing records, whether it requires a prior guardrail_check, what happens if request_id is invalid, or any error behavior. This is insufficient for a write operation.

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 a single, efficient sentence that front-loads the action and purpose. Every word contributes meaning without redundancy.

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?

Given the simple two-parameter schema and no output schema, the description is minimally adequate but could be more complete. It explains the audit trail purpose but omits important context such as whether the outcome is appended, overwritten, or how errors are handled. For a straightforward logging tool, this is acceptable but not comprehensive.

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 coverage is 0%, so the description must compensate. It does clarify that 'outcome' is success/error, matching the enum, and 'previously-checked action' implies request_id is an ID from a prior check. However, it does not explicitly define request_id's format or source, leaving some ambiguity.

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 verb 'Record' and the specific resource 'real-world outcome (success/error) of a previously-checked action, for the audit trail.' It distinguishes itself from siblings by focusing on post-check outcome logging rather than checking or history retrieval.

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?

The phrase 'previously-checked action' provides clear context that this tool is for logging outcomes after a guardrail check has occurred, implying a temporal relationship with guardrail_check. It does not explicitly name alternatives or state when not to use it, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rudimentall1/agent-guardrail'

If you have feedback or need assistance with the MCP directory API, please join our Discord server