Skip to main content
Glama

get_usem_rule

Read-onlyIdempotent

Get the full definition of a single USEM/VR rule by sys_id.

Instructions

Get the full definition of a single USEM/VR rule by sys_id.

Input Schema

NameRequiredDescriptionDefault
sys_idYes32-char sys_id of the rule
rule_typeYesWhich rule family to operate on: assignment (sn_sec_wf_assign_rule), remediation_task, remediation_target (TTR/SLA targets), risk_calculator + calculator_rule + risk_field + risk_score_weight + calculator_config (risk scoring), classification + classification_rule, exception_rule + exception_config, rollup (score rollup), approval, auto_close, exclusion

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.15.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered structurally. The description adds only that the full definition is returned, with nothing on error behavior for a bad or mismatched sys_id/rule_type pair.

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?

A single front-loaded sentence with zero padding. It is efficient, though very terse for a 16-value enum keying behavior.

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 simple read tool with two fully documented parameters and read-only annotations, the description plus schema cover what an agent needs. The absence of an output schema means the return shape ('full definition') is only loosely characterized.

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 description coverage is 100% and the rule_type enum already enumerates every family with its underlying table. The description adds no format, validation, or pairing semantics beyond what the schema states, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (retrieve a single USEM/VR rule) keyed by sys_id, and the word 'single' implicitly contrasts with list_usem_rules. It does not explicitly name the sibling alternatives, but the operation is unambiguous.

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?

Usage is only implied: an agent infers you fetch a rule after discovering its sys_id, and that mutation cases belong to update_usem_rule/set_usem_rule_active. No explicit when-to-use or when-not-to-use guidance is given.

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

Deploy Server

Other Tools