Skip to main content
Glama

get_production_session

Read-onlyIdempotent

Read a bounded durable session summary, or list up to twenty project sessions when sessionId is omitted. It does not refresh Live; resume before continuing.

Instructions

Read a bounded durable session summary, or list up to twenty sessions in this project when sessionId is omitted. Does not refresh Live; use advance action resume before continuing.

Input Schema

NameRequiredDescriptionDefault
offsetNo
projectIdYesPrivate project namespace.
sessionIdNoDurable session ID returned by start_production_session.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.1
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "oneOf": [
      +      {
      +        "properties": {
      +          "audibleQualityVerified": {
      +            "const": false
      +          },
      +          "execution": {
      +            "properties": {
      +              "counts": {
      +                "additionalProperties": {
      +                  "maximum": 16,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "type": "object"
      +              },
      +              "operations": {
      +                "items": {
      +                  "properties": {
      +                    "attemptRef": {
      +                      "pattern": "^[a-f0-9]{64}$",
      +                      "type": "string"
      +                    },
      +                    "error": {
      +                      "maxLength": 300,
      +                      "type": "string"
      +                    },
      +                    "index": {
      +                      "maximum": 15,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "nativeStatus": {
      +                      "enum": [
      +                        "applied",
      +                        "outcome_unknown",
      +                        "postconditions_failed",
      +                        "pending_postconditions",
      +                        "pending_user_action"
      +                      ]
      +                    },
      +                    "receiptId": {
      +                      "pattern": "^[a-f0-9]{64}$",
      +                      "type": "string"
      +                    },
      +                    "resultRef": {
      +                      "pattern": "^[a-f0-9]{64}$",
      +                      "type": "string"
      +                    },
      +                    "status": {
      +                      "enum": [
      +                        "not_attempted",
      +                        "execution_pending",
      +                        "applied",
      +                        "rejected",
      +                        "outcome_unknown",
      +                        "postconditions_failed",
      +                        "pending_postconditions",
      +                        "pending_user_action",
      +                        "unrecorded"
      +                      ]
      +                    },
      +                    "tool": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "index",
      +                    "tool",
      +                    "status"
      +                  ],
      +                  "type": "object"
      +                },
      +                "maxItems": 16,
      +                "type": "array"
      +              },
      +              "taskId": {
      +                "pattern": "^[a-f0-9]{64}$",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "taskId",
      +              "operations",
      +              "counts"
      +            ],
      +            "type": "object"
      +          },
      +          "phase": {
      +            "enum": [
      +              "inspect",
      +              "choose",
      +              "propose",
      +              "proposing",
      +              "apply",
      +              "execution_pending",
      +              "needs_inspection",
      +              "audition",
      +              "evaluate",
      +              "complete"
      +            ]
      +          },
      +          "recoveryRef": {
      +            "pattern": "^[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          "recoveryRequired": {
      +            "type": "boolean"
      +          },
      +          "revision": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "sessionId": {
      +            "type": "string"
      +          },
      +          "sessionRef": {
      +            "pattern": "^[a-f0-9]{64}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "sessionId",
      +          "sessionRef",
      +          "revision",
      +          "phase",
      +          "audibleQualityVerified"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "nextOffset": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "sessions": {
      +            "items": {
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "sessions",
      +          "nextOffset"
      +        ],
      +        "type": "object"
      +      }
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "properties": {
      +          "message": {
      +            "type": "string"
      +          },
      +          "outcome": {
      +            "enum": [
      +              "unknown",
      +              "not_executed"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "message",
      +          "outcome"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Addedv0.3.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent profile, and the description adds real context beyond them: results are a 'bounded' summary, listing is capped at twenty, and the call explicitly does not refresh Live state. That last constraint is exactly the kind of behavioral fact an agent needs. It still doesn't say what 'bounded' means numerically.

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?

Two tight sentences, front-loaded with the primary read behavior and mode switch; nothing is padded. The trailing 'advance action resume' phrasing is dense and slightly ambiguous, costing a point.

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?

An output schema exists, so return shapes need no explanation, and annotations carry the safety profile. What's missing is any treatment of offset/pagination and a clean pointer to the refresh flow, but for a read tool this is close to complete.

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 coverage is 67% and the description usefully explains that sessionId is optional and switches the tool into list mode, which the schema alone doesn't convey. The offset parameter is undocumented in both places, so pagination semantics remain 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?

States a specific verb pair (read/list) on a specific resource (bounded durable session summary) and makes the two modes explicit via the sessionId condition. It stops short of naming siblings like start_production_session or advance_production_session, so an agent must infer the boundary from those tools' own descriptions.

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?

Gives one clear selection rule: omit sessionId to list up to twenty sessions, supply it to read a summary. The 'does not refresh Live; use advance action resume before continuing' line hints at an alternative but is phrased obliquely, leaving the agent to guess that advance_production_session with action=resume is meant.

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