Skip to main content
Glama

cmmn-update_sentry

cmmn-update_sentry

Update an existing sentry's condition, evaluation mode, guards item, or source reference. Graph edges for Guards and OnPart are automatically recreated when related fields change.

Instructions

Updates a sentry's fields after creation. If guards_item or source_ref change, the corresponding graph edges (Guards/OnPart) are automatically deleted and recreated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
conditionNoNew condition expression or description
condition_typeNoHow to interpret condition: expression or description
evaluation_modeNoNew evaluation mode: onPart (remember satisfied parts) or onEvent (re-evaluate each time)
guards_itemNoNew item ID this sentry guards. Updates Guards edge in graph.
sentry_idYesSentry ID (@rid format)
source_refNoNew source item ID to watch for events. Updates OnPart edge in graph.
standard_eventNoNew event that triggers evaluation: complete, terminate, create, update, delete, occur
Behavior4/5

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

With no annotations, the description bears the full burden. It discloses that changing guards_item or source_ref causes automatic deletion and recreation of graph edges, which is a key behavioral trait. However, it does not mention other potential side effects, permissions, or error conditions.

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?

Two sentences, front-loaded with the main purpose. No redundant information; every phrase adds value.

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?

The description explains the core function and important side effects, but it does not cover return values (no output schema), possible errors, or value constraints for parameters like standard_event (though schema implies freeform). Given moderate complexity, it is mostly complete but has gaps.

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 schema documents each parameter. The description adds meaning for guards_item and source_ref by explaining the graph edge deletion/recreation, which goes beyond the schema. For other parameters, no additional context is provided, but baseline is 3.

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 updates a sentry's fields after creation, specifying the verb 'updates' and resource 'sentry'. It distinguishes from sibling tools like create_sentry by noting it operates on existing sentries.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions 'after creation' implying the sentry must exist, but it does not explicitly state when to use this tool versus alternatives such as evaluate_sentry or reset_sentry. No guidance on prerequisites or when not to use.

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/mstang/casemgr-mcp'

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