Skip to main content
Glama

ao_as_of

Replay an entity's facts as known at a specific ISO 8601 time from the audit log, giving agents a citable point-in-time view for temporal queries and historical verification.

Instructions

Point-in-time view: facts known about an entity at time when (ISO 8601, UTC if no offset), replayed from the audit log.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "when": "<when>",
      "entity": "<entity>"
    },
    "name": "ao_as_of"
  }
}

Input Schema

NameRequiredDescriptionDefault
whenYes
entityYes
valid_atNoValid-time date
principalNoUser/agent id to act as (ACL + audit actor); ignored if the server pins $OMPA_PRINCIPAL
vault_pathNo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of explaining behavior. It discloses the important behavioral facts that results are replayed from the audit log and that a missing offset is treated as UTC. It does not say whether the operation is read-only (implied by 'view' but not stated), how results are ordered or limited, or what happens if the entity is unknown.

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 dense sentence with the core concept front-loaded, followed by the format detail in parentheses and the data source at the end. There is no filler and nothing redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a five-parameter, bi-temporal tool with no annotations and no output schema. The description never distinguishes `when` from `valid_at`, which is a critical distinction for a point-in-time query. It also omits `principal`'s audit-actor/ACL implications, leaving an agent unable to call the tool correctly in non-default configurations.

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 only 40%, so the description must compensate. It meaningfully clarifies `when` by giving the ISO 8601 format and the UTC default, which the schema does not. However, it says nothing about `entity`, `valid_at`, `principal` (ACL/act-as semantics), or `vault_path`, leaving three of five parameters unexplained.

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?

The description gives a specific verb-plus-resource: it returns a point-in-time view of facts about an entity, reconstructed from the audit log. The bi-temporal framing and the `when` parameter make the tool's function unambiguous. It does not explicitly name a sibling it is not, such as ao_search or ao_kg_query, so it falls short of a 5.

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 phrase 'facts known about an entity at time `when`' implies that the tool is for as-of or historical reconstruction, so usage is inferable. However, the description gives no explicit when-to-use guidance, no conditions under which the tool should not be used, and no alternatives for current-state or search queries.

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