Skip to main content
Glama

Read the check history

get_reflection_history
Read-onlyIdempotent

Read AI-agent checks and their saved verdicts and evidence dates. Use agent_reflection_id as id to read the journal's linked check. Page with both returned cursors. Outcomes are self-reported. linked_decision is computed from the investor's trades and gives execution day and match certainty, without instrument or value.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_reflection_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoA check id, e.g. a journal entry's agent_reflection_id.
limitNoMaximum check records per page.
beforeNoPrevious page's next_before timestamp; pair with before_id.
before_idNoPrevious page's next_before_id cursor.

Output Schema

NameRequiredDescriptionDefault
itemsYes
next_beforeYes
next_before_idNo
unreadable_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / action / properties / funding / description
      Previous value: -"Where the money for the buy legs comes from. within_book (what the check uses when this field is left out): the book keeps its size and each leg moves only its own class, so a purchase paid from cash names its cash side as a sell leg of its own. new_money: money from outside the book, so the book grows by the buy legs; every class and position share is measured over the grown book, and an issuer's share over the equity book grown by the equity buys. The action_type does not set it: a contribute action is measured within the book unless funding is new_money. When the investor names no source for the money, use new_money, tell them the check took the money as coming from outside the book, and offer to run it again if it comes from a sale or from cash in the book."New value: +"Where the money for the buy legs comes from. within_book (what the check uses when this field is left out): the book keeps its size and each leg moves only its own class, so a purchase paid from cash names its cash side as a sell leg of its own. new_money: money from outside the book, so the book grows by the buy legs; every class and position share is measured over the grown book, and an issuer's share over the equity book grown by the equity buys. A withdraw action removes net sale proceeds from the portfolio and uses the remaining balance. A contribute action is measured within the book unless funding is new_money. When the investor names no source for the money, use new_money, tell them the check took the money as coming from outside the book, and offer to run it again if it comes from a sale or from cash in the book."
  2. Changed13 schema fields changed
    • addedInput schema / properties / before / description
      Added value: +"Previous page's next_before timestamp; pair with before_id."
    • addedInput schema / properties / before_id / description
      Added value: +"Previous page's next_before_id cursor."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum check records per page."
    • addedOutput schema / properties / items / items / properties / action / properties / action_type / description
      Added value: +"Type of intended change."
    • addedOutput schema / properties / items / items / properties / action / properties / amount_pct_of_portfolio / description
      Added value: +"Single-class proposal size as portfolio percent, not a fraction."
    • addedOutput schema / properties / items / items / properties / action / properties / asset_class / description
      Added value: +"Asset class for a single-class proposal."
    • addedOutput schema / properties / items / items / properties / action / properties / legs / description
      Added value: +"Proposed buys and sells, each with an explicit subject and amount."
    • changedOutput schema / properties / items / items / properties / action / properties / legs / items / properties / amount / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "eur": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 1000000000,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "eur"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "pct_of_portfolio": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "pct_of_portfolio"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "eur": {
      +        "description": "Proposed amount in EUR.",
      +        "exclusiveMinimum": 0,
      +        "maximum": 1000000000,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "eur"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "pct_of_portfolio": {
      +        "description": "Percent of the portfolio, from 0 to 100.",
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "pct_of_portfolio"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / items / items / properties / action / properties / legs / items / properties / amount / description
      Added value: +"Size in EUR or portfolio percent; supply one."
    • addedOutput schema / properties / items / items / properties / action / properties / legs / items / properties / side / description
      Added value: +"Direction of this proposed leg."
    • changedOutput schema / properties / items / items / properties / action / properties / legs / items / properties / subject / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "isin": {
      -        "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "isin"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "asset_class": {
      -        "enum": [
      -          "equities",
      -          "bonds",
      -          "crypto",
      -          "alternatives",
      -          "gold",
      -          "cash",
      -          "real_estate",
      -          "commodities"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "asset_class"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "isin": {
      +        "description": "Investor-supplied ISIN.",
      +        "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "isin"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "asset_class": {
      +        "description": "Proposed asset class.",
      +        "enum": [
      +          "equities",
      +          "bonds",
      +          "crypto",
      +          "alternatives",
      +          "gold",
      +          "cash",
      +          "real_estate",
      +          "commodities"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "asset_class"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / items / items / properties / action / properties / legs / items / properties / subject / description
      Added value: +"The investor's instrument or asset class."
    • addedOutput schema / properties / items / items / properties / action / properties / rationale / description
      Added value: +"The investor's reason for the proposed change."
  3. Changed5 schema fields changed
    • removedInput schema / properties / before / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedInput schema / properties / before_id / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / id / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedOutput schema / properties / items / items / properties / id / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedOutput schema / properties / next_before_id / anyOf
      Previous value: -[
      -  {
      -    "format": "uuid",
      -    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / action / properties / funding / description
      Previous value: -"Where the money for the buy legs comes from. within_book (the default): the book keeps its size and each leg moves only its own class, so a purchase paid from cash names its cash side as a sell leg of its own. new_money: money from outside the book, so the book grows by the buy legs; every class and position share is measured over the grown book, and an issuer's share over the equity book grown by the equity buys. The action_type does not set it: a contribute action is measured within the book unless funding is new_money."New value: +"Where the money for the buy legs comes from. within_book (what the check uses when this field is left out): the book keeps its size and each leg moves only its own class, so a purchase paid from cash names its cash side as a sell leg of its own. new_money: money from outside the book, so the book grows by the buy legs; every class and position share is measured over the grown book, and an issuer's share over the equity book grown by the equity buys. The action_type does not set it: a contribute action is measured within the book unless funding is new_money. When the investor names no source for the money, use new_money, tell them the check took the money as coming from outside the book, and offer to run it again if it comes from a sale or from cash in the book."
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add context, and it does: it warns that outcomes are self-reported and that linked_decision carries execution day and match certainty but no instrument or value. It also states that paging requires both cursors. Return-shape detail is not required here since an output schema exists.

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?

Four short sentences, front-loaded with the resource and immediately followed by the linkage and paging rules. Dense but every sentence carries distinct information; only the linked_decision caveat is packed tightly enough to need a second read.

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?

The tool is a simple paginated read with only four parameters, an output schema, and full annotation coverage, so the description supplies what matters: the journal linkage, the paired-cursor rule, and caveats about self-reported outcomes and the limited scope of linked_decision. Minor omissions such as the default page size or the no-id listing behavior keep it from a 5.

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 description coverage is 100%, so the baseline is 3; the description earns an increment by tying 'id' to the journal's agent_reflection_id and, more usefully, by telling the agent to page with both cursors, clarifying that before and before_id must be supplied together rather than independently.

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 opening sentence gives a specific verb and resource ('Read AI-agent checks') and names the returned content (verdicts, evidence dates), which is enough to distinguish it from the write-oriented 'check_action'. It stops short of explicitly contrasting itself with a sibling such as 'get_decision_outcomes', so it lands just below top marks.

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 sentence 'Use agent_reflection_id as id to read the journal's linked check' gives a concrete linking path from a journal entry, which is real usage context. However, there is no statement of when not to use this tool, no named alternative, and no guidance on omitting the id entirely (the schema marks it optional), leaving the list-all case implicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.