Skip to main content
Glama

sootool.policy_history

Read-onlyIdempotent

Returns a policy's change audit history by domain and name, listing activation, rollback, and import actions with timestamps, audit IDs, and before/after SHA-256 hashes.

Instructions

정책 하나(domain, name)의 변경 감사 기록을 기록된 순서대로 반환한다. 항목마다 action(activate, rollback, import), 시각, audit_id, 변경 전후 sha256 이 있고 기록이 없으면 빈 목록이다. 정책 내용 자체는 sootool.policy_get 으로 본다.

Input Schema

NameRequiredDescriptionDefault
nameYes
domainYes

Output Schema

NameRequiredDescriptionDefault
nameYes
_metaNo서버가 붙이는 영수증(integrity), 엔진, 힌트
countYes
domainYes
entriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Goes beyond the readOnly/idempotent annotations by disclosing ordering (recorded order), the per-item fields returned (action, timestamp, audit_id, before/after sha256), the action values (activate, rollback, import), and the empty-list behavior when no history exists. Does not mention retention limits or pagination, but the core behavior is well covered.

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?

Three short sentences: purpose, return shape/edge case, and alternative. Front-loaded with the verb, no redundant restatement of the tool name, nothing that could be cut.

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 read-only two-parameter lookup with an output schema, the description covers purpose, return content, empty result, and the sibling alternative — enough to invoke correctly. The only gap is the unresolved semantics of the required domain/name parameters.

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 0%, so the description must carry parameter meaning. It names the two parameters in passing ('정책 하나(domain, name)') but never explains what domain represents (namespace/tenant?) or the expected format of name, leaving the agent to infer both.

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 ('정책 하나(domain, name)의 변경 감사 기록을 반환한다') and immediately disambiguates from the closest sibling by noting that policy content is retrieved via sootool.policy_get instead. An agent can tell this returns audit history, not policy content.

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?

Explicitly routes the agent to sootool.policy_get when the actual policy body is wanted, which is the most likely confusion. However it does not distinguish this audit-log read from sootool.policy_diff, another sibling that also concerns changes, so the when-not guidance is incomplete.

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