Skip to main content
Glama

List the saved versions of a model

list_graph_versions
Read-onlyIdempotent

Lists the saved versions of one graph on your Neumann account, newest first. Every save_graph call stores a new version of the graph it saves, so this is that model's history. Use this when the user wants to see how a saved model has changed, find an earlier version of it, or go back to how it was before -- for example, how the model looked last week. It returns one entry per version with its version number, its version_id, when it was saved, the label given with save_graph's version_name (null when none was given) and how many nodes it had, plus next_offset when there are more to page through. To read a version, pass its number to get_graph as version. To restore one, read it that way and save the graph get_graph returns with save_graph and the same graph_id: it becomes the current model and is stored as a new version, so no version is lost. A single version cannot be deleted: delete_graph deletes the whole model, every version with it. It lists one model's versions, not your other models (that is list_graphs) and not runs or results. It needs a Neumann account: send your key, or your signed-in token, in the Authorization header as a Bearer credential. No Neumann tool takes an api_key argument. Cost: free -- it debits no credits and spends none of your free daily runs -- but it needs an account; an anonymous caller gets account_required.

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": {
      "graph_id": "<graph_id>"
    },
    "name": "list_graph_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many versions to return, newest first.
offsetNoHow many versions to skip, for paging. Use the next_offset the previous call returned.
graph_idYesWhich saved graph's versions to list, from save_graph or list_graphs.

Output Schema

NameRequiredDescriptionDefault
billingNoWho you are and what this call cost: principal, auth source, credits debited and balance, or the anonymous allowance left today.
graph_idYesThe id of the graph whose versions these are.
versionsYesOne entry per saved version, newest first.
next_offsetNoThe offset to pass next to get the following page, or null when this was the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: Bearer-token auth in the Authorization header with no api_key argument, the account_required failure for anonymous callers, zero credit cost, and the destructive edge case that a single version cannot be deleted because delete_graph removes every version. The restore semantics (creates a new version, loses nothing) are genuinely non-obvious behavioral disclosure.

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?

Front-loaded with purpose and ordering, then workflow, then exclusions, then auth and cost — a logical progression with little wasted text. It runs long and the cost/auth tail is somewhat verbose ('debits no credits and spends none of your free daily runs'), but every clause carries information an agent would otherwise have to guess.

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

Completeness5/5

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

For a read-only paged list tool with a full output schema, the definition covers the remaining gaps an agent would hit: auth method, cost, paging, restore pathway, and deletion semantics. Nothing needed to call it correctly or to interpret the response is missing.

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 adds real meaning: graph_id is framed as 'one graph on your Neumann account', the returned version_id and version_name (null when none supplied) are tied back to save_graph's inputs, and next_offset is explained as the paging cursor. Limit and offset themselves are left to the schema, which is acceptable given the coverage.

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?

Names a specific verb and resource ('Lists the saved versions of one graph'), adds ordering ('newest first') and scope ('one model's versions, not your other models'), and explicitly separates itself from list_graphs, get_graph, save_graph and delete_graph. An agent can select it without inspecting siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete triggers ('see how a saved model has changed, find an earlier version, go back to how it was before') plus a worked example ('how the model looked last week'). It also routes the follow-up actions explicitly: pass the number to get_graph to read, re-save via save_graph to restore, and lists what this tool is not (list_graphs for other models, not runs or results).

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