Skip to main content
Glama

Get StewAI Run Results

get_results
Read-onlyIdempotent

Read declared outputs or a sanitized per-step trace from an owned run, including signed chunks for oversized steps. view=steps returns compact summaries, 10 per page by default and at most 20 (limit 1-20); follow next_cursor until it is null, pass detail=full for whole steps, or use view=step with step_id for one full step. Step reads are provisional until get_run reports a finished status. If outputs is empty, read view=steps; for a failed run, read the failed step and let the user decide.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNo
limitNoSteps per page for view=steps: default 10, at most 20.
cursorNo
detailNoFor view=steps: summary (default) lists each step's id, title, kind, status, timing and result type; full returns parameters, rendered input and result. view=step always returns the full step.
run_idYes
step_idNo
chunk_refNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / detail
      Added value: +{
      +  "description": "For view=steps: summary (default) lists each step's id, title, kind, status, timing and result type; full returns parameters, rendered input and result. view=step always returns the full step.",
      +  "enum": [
      +    "summary",
      +    "full"
      +  ]
      +}
    • addedInput schema / properties / limit / description
      Added value: +"Steps per page for view=steps: default 10, at most 20."
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "outcome": {
      -        "const": "results"
      -      },
      -      "outputs": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "label": {
      -              "maxLength": 100,
      -              "type": "string"
      -            },
      -            "value": {}
      -          },
      -          "required": [
      -            "label",
      -            "value"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "outputs"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "outcome": {
      -        "const": "not_ready"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "queued",
      -          "running",
      -          "blocked"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "outcome": {
      -        "const": "no_results"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "failed",
      -          "cancelled"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "outcome": {
      -        "const": "result_too_large"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "next_cursor": {
      -        "oneOf": [
      -          {
      -            "maxLength": 8,
      -            "pattern": "^o:(?:0|[1-9][0-9]*)$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "outcome": {
      -        "const": "steps"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "queued",
      -          "running",
      -          "done",
      -          "failed",
      -          "cancelled",
      -          "blocked"
      -        ]
      -      },
      -      "steps": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "depends_on": {
      -              "items": {
      -                "maxLength": 128,
      -                "type": "string"
      -              },
      -              "maxItems": 1000,
      -              "type": "array"
      -            },
      -            "diagnostics": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "duration_ms": {
      -                  "minimum": 0,
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "input_tokens": {
      -                  "minimum": 0,
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "output_tokens": {
      -                  "minimum": 0,
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "duration_ms",
      -                "input_tokens",
      -                "output_tokens"
      -              ],
      -              "type": "object"
      -            },
      -            "input_source": {
      -              "enum": [
      -                "rendered",
      -                "configured",
      -                "unavailable"
      -              ]
      -            },
      -            "kind": {
      -              "maxLength": 32,
      -              "type": "string"
      -            },
      -            "parameters": {
      -              "type": "object"
      -            },
      -            "redaction_reasons": {
      -              "items": {
      -                "enum": [
      -                  "sensitive_input",
      -                  "opaque_recipe"
      -                ]
      -              },
      -              "maxItems": 2,
      -              "type": "array",
      -              "uniqueItems": true
      -            },
      -            "rendered_input": {
      -              "oneOf": [
      -                {
      -                  "maxLength": 1048576,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "result": {
      -              "type": "object"
      -            },
      -            "status": {
      -              "maxLength": 32,
      -              "type": "string"
      -            },
      -            "step_id": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "step_id",
      -            "title",
      -            "kind",
      -            "status",
      -            "depends_on",
      -            "parameters",
      -            "rendered_input",
      -            "input_source",
      -            "result",
      -            "redaction_reasons"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      },
      -      "trace_visibility": {
      -        "enum": [
      -          "full",
      -          "opaque"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status",
      -      "trace_visibility",
      -      "steps",
      -      "next_cursor"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "outcome": {
      -        "const": "step"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "queued",
      -          "running",
      -          "done",
      -          "failed",
      -          "cancelled",
      -          "blocked"
      -        ]
      -      },
      -      "step": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "depends_on": {
      -            "items": {
      -              "maxLength": 128,
      -              "type": "string"
      -            },
      -            "maxItems": 1000,
      -            "type": "array"
      -          },
      -          "diagnostics": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "duration_ms": {
      -                "minimum": 0,
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "input_tokens": {
      -                "minimum": 0,
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "output_tokens": {
      -                "minimum": 0,
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "duration_ms",
      -              "input_tokens",
      -              "output_tokens"
      -            ],
      -            "type": "object"
      -          },
      -          "input_source": {
      -            "enum": [
      -              "rendered",
      -              "configured",
      -              "unavailable"
      -            ]
      -          },
      -          "kind": {
      -            "maxLength": 32,
      -            "type": "string"
      -          },
      -          "parameters": {
      -            "type": "object"
      -          },
      -          "redaction_reasons": {
      -            "items": {
      -              "enum": [
      -                "sensitive_input",
      -                "opaque_recipe"
      -              ]
      -            },
      -            "maxItems": 2,
      -            "type": "array",
      -            "uniqueItems": true
      -          },
      -          "rendered_input": {
      -            "oneOf": [
      -              {
      -                "maxLength": 1048576,
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "result": {
      -            "type": "object"
      -          },
      -          "status": {
      -            "maxLength": 32,
      -            "type": "string"
      -          },
      -          "step_id": {
      -            "maxLength": 128,
      -            "type": "string"
      -          },
      -          "title": {
      -            "maxLength": 500,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "step_id",
      -          "title",
      -          "kind",
      -          "status",
      -          "depends_on",
      -          "parameters",
      -          "rendered_input",
      -          "input_source",
      -          "result",
      -          "redaction_reasons"
      -        ],
      -        "type": "object"
      -      },
      -      "trace_visibility": {
      -        "enum": [
      -          "full",
      -          "opaque"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status",
      -      "trace_visibility",
      -      "step"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "next_cursor": {
      -        "oneOf": [
      -          {
      -            "maxLength": 8,
      -            "pattern": "^o:(?:0|[1-9][0-9]*)$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "outcome": {
      -        "const": "step_too_large"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "step_id": {
      -        "maxLength": 128,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "step_id",
      -      "next_cursor"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "chunk_ref": {
      -        "maxLength": 2048,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "next_cursor": {
      -        "oneOf": [
      -          {
      -            "maxLength": 8,
      -            "pattern": "^o:(?:0|[1-9][0-9]*)$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "outcome": {
      -        "const": "step_too_large"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "step_id": {
      -        "maxLength": 128,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "step_id",
      -      "next_cursor",
      -      "chunk_ref"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "chunk": {
      -        "maxLength": 1048576,
      -        "type": "string"
      -      },
      -      "chunk_utf8_bytes": {
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "encoding": {
      -        "const": "json"
      -      },
      -      "next_chunk_ref": {
      -        "oneOf": [
      -          {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "offset": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "outcome": {
      -        "const": "step_chunk"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "step_id": {
      -        "maxLength": 128,
      -        "type": "string"
      -      },
      -      "total_utf8_bytes": {
      -        "minimum": 1,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "step_id",
      -      "encoding",
      -      "offset",
      -      "chunk",
      -      "chunk_utf8_bytes",
      -      "total_utf8_bytes",
      -      "next_chunk_ref"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_not_found"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "invalid_params"
      -      },
      -      "field": {
      -        "maxLength": 64,
      -        "type": "string"
      -      },
      -      "hint": {
      -        "maxLength": 240,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "field",
      -      "hint"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "step_not_found"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "result_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "outcome": {
      +        "const": "results"
      +      },
      +      "outputs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "label": {
      +              "maxLength": 100,
      +              "type": "string"
      +            },
      +            "value": {}
      +          },
      +          "required": [
      +            "label",
      +            "value"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "outputs"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "outcome": {
      +        "const": "not_ready"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "queued",
      +          "running",
      +          "blocked"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "outcome": {
      +        "const": "no_results"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "failed",
      +          "cancelled"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "outcome": {
      +        "const": "result_too_large"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "next_cursor": {
      +        "oneOf": [
      +          {
      +            "maxLength": 8,
      +            "pattern": "^o:(?:0|[1-9][0-9]*)$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "observed_at": {
      +        "format": "date-time",
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "const": "steps"
      +      },
      +      "provisional": {
      +        "description": "True while the run is not finished: step statuses and results can still change. Unfinished steps show a pending result.",
      +        "type": "boolean"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "queued",
      +          "running",
      +          "done",
      +          "failed",
      +          "cancelled",
      +          "blocked"
      +        ]
      +      },
      +      "steps": {
      +        "items": {
      +          "oneOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "diagnostic_notes": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "code": {
      +                        "maxLength": 64,
      +                        "type": "string"
      +                      },
      +                      "meaning": {
      +                        "maxLength": 200,
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "code",
      +                      "meaning"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "maxItems": 5,
      +                  "type": "array"
      +                },
      +                "finished_at": {
      +                  "maxLength": 40,
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "kind": {
      +                  "maxLength": 32,
      +                  "type": "string"
      +                },
      +                "redaction_reasons": {
      +                  "items": {
      +                    "enum": [
      +                      "sensitive_input",
      +                      "opaque_recipe"
      +                    ]
      +                  },
      +                  "maxItems": 2,
      +                  "type": "array",
      +                  "uniqueItems": true
      +                },
      +                "result_type": {
      +                  "maxLength": 32,
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "started_at": {
      +                  "maxLength": 40,
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "status": {
      +                  "maxLength": 32,
      +                  "type": "string"
      +                },
      +                "step_id": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "maxLength": 500,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "step_id",
      +                "title",
      +                "kind",
      +                "status",
      +                "started_at",
      +                "finished_at",
      +                "result_type",
      +                "redaction_reasons"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "depends_on": {
      +                  "items": {
      +                    "maxLength": 128,
      +                    "type": "string"
      +                  },
      +                  "maxItems": 1000,
      +                  "type": "array"
      +                },
      +                "diagnostic_notes": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "code": {
      +                        "maxLength": 64,
      +                        "type": "string"
      +                      },
      +                      "meaning": {
      +                        "maxLength": 200,
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "code",
      +                      "meaning"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "maxItems": 5,
      +                  "type": "array"
      +                },
      +                "diagnostics": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "duration_ms": {
      +                      "minimum": 0,
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    },
      +                    "input_tokens": {
      +                      "minimum": 0,
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    },
      +                    "output_tokens": {
      +                      "minimum": 0,
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "duration_ms",
      +                    "input_tokens",
      +                    "output_tokens"
      +                  ],
      +                  "type": "object"
      +                },
      +                "input_source": {
      +                  "enum": [
      +                    "rendered",
      +                    "configured",
      +                    "unavailable"
      +                  ]
      +                },
      +                "kind": {
      +                  "maxLength": 32,
      +                  "type": "string"
      +                },
      +                "parameters": {
      +                  "type": "object"
      +                },
      +                "redaction_reasons": {
      +                  "items": {
      +                    "enum": [
      +                      "sensitive_input",
      +                      "opaque_recipe"
      +                    ]
      +                  },
      +                  "maxItems": 2,
      +                  "type": "array",
      +                  "uniqueItems": true
      +                },
      +                "rendered_input": {
      +                  "oneOf": [
      +                    {
      +                      "maxLength": 1048576,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "result": {
      +                  "type": "object"
      +                },
      +                "status": {
      +                  "maxLength": 32,
      +                  "type": "string"
      +                },
      +                "step_id": {
      +                  "maxLength": 128,
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "maxLength": 500,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "step_id",
      +                "title",
      +                "kind",
      +                "status",
      +                "depends_on",
      +                "parameters",
      +                "rendered_input",
      +                "input_source",
      +                "result",
      +                "redaction_reasons"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "maxItems": 20,
      +        "type": "array"
      +      },
      +      "trace_visibility": {
      +        "enum": [
      +          "full",
      +          "opaque"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status",
      +      "trace_visibility",
      +      "steps",
      +      "next_cursor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "observed_at": {
      +        "format": "date-time",
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "const": "step"
      +      },
      +      "provisional": {
      +        "description": "True while the run is not finished: step statuses and results can still change. Unfinished steps show a pending result.",
      +        "type": "boolean"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "queued",
      +          "running",
      +          "done",
      +          "failed",
      +          "cancelled",
      +          "blocked"
      +        ]
      +      },
      +      "step": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "depends_on": {
      +            "items": {
      +              "maxLength": 128,
      +              "type": "string"
      +            },
      +            "maxItems": 1000,
      +            "type": "array"
      +          },
      +          "diagnostic_notes": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "maxLength": 64,
      +                  "type": "string"
      +                },
      +                "meaning": {
      +                  "maxLength": 200,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "meaning"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 5,
      +            "type": "array"
      +          },
      +          "diagnostics": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "duration_ms": {
      +                "minimum": 0,
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "input_tokens": {
      +                "minimum": 0,
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "output_tokens": {
      +                "minimum": 0,
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "duration_ms",
      +              "input_tokens",
      +              "output_tokens"
      +            ],
      +            "type": "object"
      +          },
      +          "input_source": {
      +            "enum": [
      +              "rendered",
      +              "configured",
      +              "unavailable"
      +            ]
      +          },
      +          "kind": {
      +            "maxLength": 32,
      +            "type": "string"
      +          },
      +          "parameters": {
      +            "type": "object"
      +          },
      +          "redaction_reasons": {
      +            "items": {
      +              "enum": [
      +                "sensitive_input",
      +                "opaque_recipe"
      +              ]
      +            },
      +            "maxItems": 2,
      +            "type": "array",
      +            "uniqueItems": true
      +          },
      +          "rendered_input": {
      +            "oneOf": [
      +              {
      +                "maxLength": 1048576,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "result": {
      +            "type": "object"
      +          },
      +          "status": {
      +            "maxLength": 32,
      +            "type": "string"
      +          },
      +          "step_id": {
      +            "maxLength": 128,
      +            "type": "string"
      +          },
      +          "title": {
      +            "maxLength": 500,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "step_id",
      +          "title",
      +          "kind",
      +          "status",
      +          "depends_on",
      +          "parameters",
      +          "rendered_input",
      +          "input_source",
      +          "result",
      +          "redaction_reasons"
      +        ],
      +        "type": "object"
      +      },
      +      "trace_visibility": {
      +        "enum": [
      +          "full",
      +          "opaque"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status",
      +      "trace_visibility",
      +      "step"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "next_cursor": {
      +        "oneOf": [
      +          {
      +            "maxLength": 8,
      +            "pattern": "^o:(?:0|[1-9][0-9]*)$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "outcome": {
      +        "const": "step_too_large"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "step_id": {
      +        "maxLength": 128,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "step_id",
      +      "next_cursor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "chunk_ref": {
      +        "maxLength": 2048,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "next_cursor": {
      +        "oneOf": [
      +          {
      +            "maxLength": 8,
      +            "pattern": "^o:(?:0|[1-9][0-9]*)$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "outcome": {
      +        "const": "step_too_large"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "step_id": {
      +        "maxLength": 128,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "step_id",
      +      "next_cursor",
      +      "chunk_ref"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "chunk": {
      +        "maxLength": 1048576,
      +        "type": "string"
      +      },
      +      "chunk_utf8_bytes": {
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "encoding": {
      +        "const": "json"
      +      },
      +      "next_chunk_ref": {
      +        "oneOf": [
      +          {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "offset": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "outcome": {
      +        "const": "step_chunk"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "step_id": {
      +        "maxLength": 128,
      +        "type": "string"
      +      },
      +      "total_utf8_bytes": {
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "step_id",
      +      "encoding",
      +      "offset",
      +      "chunk",
      +      "chunk_utf8_bytes",
      +      "total_utf8_bytes",
      +      "next_chunk_ref"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_not_found"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "invalid_params"
      +      },
      +      "field": {
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "hint": {
      +        "maxLength": 240,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "field",
      +      "hint"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "step_not_found"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "result_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses significant behavior: results are sanitized, oversized steps are handled with signed chunks, step reads are provisional until the run finishes, and pagination requires following next_cursor until null. This gives the agent accurate expectations not present in the structured annotations.

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 core purpose is front-loaded in the first sentence, and the following sentences pack precisely the needed operational details—views, pagination, detail modes, and provisional semantics—without filler. The punctuation keeps the dense information parseable.

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 tool with 7 parameters and no nested objects, the description is remarkably complete: it covers pagination, watermarking/provisional behavior, failure handling, and fallback strategies. Since an output schema exists, return-value details are appropriately left to the schema, and the description fills all essential usage gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 29%, so the description carries the parameter-documentation burden. It thoroughly explains view values, the limit default and range (10 default, max 20), cursor semantics (follow next_cursor), detail summary vs full, and step_id/chunk_ref usage. Every parameter gains practical meaning from the description.

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 starts with the specific verb 'Read' and names the exact resources: 'declared outputs or a sanitized per-step trace from an owned run.' It also distinguishes itself from the sibling tool get_run by describing step reads as provisional until get_run reports a finished status, so an agent can disambiguate the two.

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?

The description gives explicit conditional guidance: 'If outputs is empty, read view=steps' and 'for a failed run, read the failed step and let the user decide.' It also directs the agent to get_run for status checks, effectively stating when to use this tool versus a key alternative.

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