Skip to main content
Glama

View history

get_history
Read-onlyIdempotent

Who changed a tree or one of its concepts, when, and why (changes already in the repository; those still waiting for an editor are list_changes'): its commits, newest first, read from Git (changes made in OKForest and directly in Git alike), a concept's from before it was renamed or moved too. With commit, what that commit changed instead: each file's frontmatter field by field, and its lines. With concept and blame, who last changed each of the concept's frontmatter fields and lines, and why (e.g. who set its status).

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_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoWhich page of commits, 20 to a page; the first by default.
treeNoThe tree's slug, as list_trees gives it (not its name). Required unless the Forest has one tree, or `concept` names it.
blameNoWith `concept`: the commit that last changed each of its frontmatter fields and lines, rather than its commits.
commitNoA commit's full SHA, as this tool lists them: what that commit changed.
conceptNoA concept ID, its tree first (`company:customers/acme-corp`): that concept's history, rather than the whole tree's.

Output Schema

NameRequiredDescriptionDefault
moreNoWhether there are older commits: ask for the next `page`.
pathNoThe concept's file, when `concept` was given.
treeYesThe tree, and the commit it was read at: history ends there.
blameNoWho last changed the concept's fields and lines, when `blame` was given.
commitNoWhat the commit changed in the tree, when `commit` was given.
commitsNoThe commits, newest first; absent when `commit` was given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / blame
      Added value: +{
      +  "description": "With `concept`: the commit that last changed each of its frontmatter fields and lines, rather than its commits.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / blame
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Who last changed the concept's fields and lines, when `blame` was given.",
      +  "properties": {
      +    "commits": {
      +      "description": "The commits that last changed its lines, newest first.",
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "author": {
      +            "description": "Who made it, by their name in Git.",
      +            "type": "string"
      +          },
      +          "date": {
      +            "description": "When they made it.",
      +            "type": "string"
      +          },
      +          "files": {
      +            "description": "The files it changed in the tree, in a whole tree's history.",
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "path": {
      +                  "description": "The file's path in the tree.",
      +                  "type": "string"
      +                },
      +                "previousPath": {
      +                  "description": "Its path before, when it was renamed or copied.",
      +                  "type": "string"
      +                },
      +                "status": {
      +                  "description": "What the commit did to it.",
      +                  "enum": [
      +                    "added",
      +                    "removed",
      +                    "modified",
      +                    "renamed",
      +                    "copied",
      +                    "changed",
      +                    "unchanged"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "path",
      +                "status"
      +              ],
      +              "title": "Changed file",
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "message": {
      +            "description": "Its message: the first line says what, the rest often why.",
      +            "type": "string"
      +          },
      +          "path": {
      +            "description": "In a concept's history, the path its file had then, before it was renamed or moved.",
      +            "type": "string"
      +          },
      +          "sha": {
      +            "description": "The commit's full SHA: pass it as `commit` to see what it changed.",
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "Its page in OKForest, with its changes.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "sha",
      +          "message",
      +          "author",
      +          "date",
      +          "url"
      +        ],
      +        "title": "Commit",
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "fields": {
      +      "description": "Each frontmatter field, as written, and the commit that last changed it.",
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "name": {
      +            "description": "The frontmatter field.",
      +            "type": "string"
      +          },
      +          "sha": {
      +            "description": "The commit that last changed it, among `commits`.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "sha"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "lines": {
      +      "description": "The file's lines, in runs that one commit last changed; absent for a file over 1 MB.",
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "lines": {
      +            "description": "The lines, as written.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "sha": {
      +            "description": "The commit that last changed them, among `commits`.",
      +            "type": "string"
      +          },
      +          "start": {
      +            "description": "The first one's line number in the file, from 1.",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "sha",
      +          "start",
      +          "lines"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "commits"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / commits / items / properties / path
      Added value: +{
      +  "description": "In a concept's history, the path its file had then, before it was renamed or moved.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile needs no restating. The description adds genuine context beyond that: data is read from Git, covers changes made in OKForest and directly in Git, is ordered newest first, and includes a concept's pre-rename/pre-move history. It does not mention concurrency or cost, but for a read-only history tool the essential behavior is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every clause carries information, but the opening is a single run-on sentence dense with nested parentheticals, which makes it slow to parse and pushes the mode-routing sentences into second and third position. The content is front-loaded only loosely; restructuring into short mode-per-sentence form would cost nothing in information.

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?

With an output schema present, return values need not be explained, and annotations cover the safety profile, so the description's remaining job is mode selection and data provenance, both covered. The only gap is the default invocation case (no `commit` and no `concept`), which is implied but never stated.

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 baseline is 3, but the description genuinely adds meaning by explaining the interaction between parameters: `commit` switches to a per-file, field-by-field and line-by-line diff of that commit, while `concept` plus `blame` switches to per-field attribution ('who set its `status`'). That mode-coupling is not evident from the schema alone.

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 states a specific resource and the question it answers ('who changed a tree or one of its concepts, when, and why'), and it explicitly distinguishes itself from the sibling list_changes, which handles changes 'still waiting for an editor'. It also names its three usage shapes (tree history, single commit, concept blame), so an agent can tell what it is without opening the schema.

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?

The when-to-use boundary versus list_changes is explicit and conditional ('changes already in the repository; those still waiting for an editor are list_changes''), and the 'With `commit` ... instead' / 'With `concept` and `blame` ...' clauses route the agent among modes. What is missing is a plain statement of the default behavior and prerequisites (e.g., that tree is needed unless the Forest has one tree), which the agent must infer from the schema.

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.

Resources