Skip to main content
Glama

Inspect revision outcome

koskamo_get_revision
Read-onlyIdempotent

Read pending, approved, or rejected revision state for revision_id in a public dataset. No writes, charges, private reviewer notes, or private dataset revisions. Index visibility is reported separately from approval.

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": {
      "revision_id": "<revision_id>"
    },
    "name": "koskamo_get_revision"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoOpaque continuation cursor returned by the previous page; keep the same resource and filters.
revision_idYesID of the public revision to inspect.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "context": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "app_id": {
      -            "const": "koskamo",
      -            "type": "string"
      -          },
      -          "environment": {
      -            "enum": [
      -              "public",
      -              "production",
      -              "sandbox"
      -            ],
      -            "type": "string"
      -          },
      -          "tenant_ref": {
      -            "type": "null"
      -          },
      -          "timezone": {
      -            "const": "UTC",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "app_id",
      -          "tenant_ref",
      -          "environment",
      -          "timezone"
      -        ],
      -        "type": "object"
      -      },
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "applied_document_version": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "base_document_version": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "dataset_id": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "document_id": {
      -            "anyOf": [
      -              {
      -                "maxLength": 256,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "proposed_change": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "action": {
      -                "enum": [
      -                  "add_document",
      -                  "replace_document",
      -                  "delete_document"
      -                ],
      -                "type": "string"
      -              },
      -              "content_hash": {
      -                "type": "string"
      -              },
      -              "next_cursor": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_url": {
      -                "anyOf": [
      -                  {
      -                    "format": "uri",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "text": {
      -                "type": "string"
      -              },
      -              "title": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "action",
      -              "title",
      -              "text",
      -              "source_url",
      -              "next_cursor",
      -              "content_hash"
      -            ],
      -            "type": "object"
      -          },
      -          "proposed_diff_artifact_id": {
      -            "type": "string"
      -          },
      -          "retrieval_visibility": {
      -            "enum": [
      -              "not_applied",
      -              "index_pending",
      -              "visible",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "reviewed_at": {
      -            "anyOf": [
      -              {
      -                "format": "date-time",
      -                "pattern": "^(?:(?:\\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)))$",
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "revision_id": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "safe_review_summary": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "state": {
      -            "enum": [
      -              "pending",
      -              "approved",
      -              "rejected"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "revision_id",
      -          "dataset_id",
      -          "document_id",
      -          "base_document_version",
      -          "state",
      -          "proposed_diff_artifact_id",
      -          "applied_document_version",
      -          "retrieval_visibility",
      -          "safe_review_summary",
      -          "proposed_change",
      -          "reviewed_at"
      -        ],
      -        "type": "object"
      -      },
      -      "generated_at": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\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)))$",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "record",
      -        "type": "string"
      -      },
      -      "next_actions": {
      -        "items": {
      -          "oneOf": [
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "reason": {
      -                  "type": "string"
      -                },
      -                "tool_name": {
      -                  "type": "string"
      -                },
      -                "type": {
      -                  "const": "call_tool",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "type",
      -                "tool_name",
      -                "reason"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "reason": {
      -                  "type": "string"
      -                },
      -                "type": {
      -                  "const": "open_url",
      -                  "type": "string"
      -                },
      -                "url": {
      -                  "format": "uri",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "type",
      -                "url",
      -                "reason"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "fields": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "reason": {
      -                  "type": "string"
      -                },
      -                "type": {
      -                  "const": "provide_input",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "type",
      -                "fields",
      -                "reason"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "reason": {
      -                  "type": "string"
      -                },
      -                "retry_after_ms": {
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "type": {
      -                  "const": "wait",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "type",
      -                "retry_after_ms",
      -                "reason"
      -              ],
      -              "type": "object"
      -            }
      -          ]
      -        },
      -        "type": "array"
      -      },
      -      "provenance": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "freshness": {
      -              "enum": [
      -                "fresh",
      -                "stale",
      -                "unknown"
      -              ],
      -              "type": "string"
      -            },
      -            "observed_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date-time",
      -                  "pattern": "^(?:(?:\\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)))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "retrieved_at": {
      -              "format": "date-time",
      -              "pattern": "^(?:(?:\\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)))$",
      -              "type": "string"
      -            },
      -            "source_id": {
      -              "type": "string"
      -            },
      -            "source_url": {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "source_version": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "source_id",
      -            "observed_at",
      -            "retrieved_at",
      -            "freshness"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      },
      -      "schema_version": {
      -        "const": "1.0.0",
      -        "type": "string"
      -      },
      -      "warnings": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "code": {
      -              "type": "string"
      -            },
      -            "field": {
      -              "type": "string"
      -            },
      -            "message": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "code",
      -            "message"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "kind",
      -      "request_id",
      -      "generated_at",
      -      "context",
      -      "data",
      -      "warnings",
      -      "next_actions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "context": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "app_id": {
      -            "const": "koskamo",
      -            "type": "string"
      -          },
      -          "environment": {
      -            "enum": [
      -              "public",
      -              "production",
      -              "sandbox"
      -            ],
      -            "type": "string"
      -          },
      -          "tenant_ref": {
      -            "type": "null"
      -          },
      -          "timezone": {
      -            "const": "UTC",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "app_id",
      -          "tenant_ref",
      -          "environment",
      -          "timezone"
      -        ],
      -        "type": "object"
      -      },
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "invalid_input",
      -              "unauthenticated",
      -              "permission_denied",
      -              "consent_required",
      -              "ambiguous_target",
      -              "not_found",
      -              "unsupported_capability",
      -              "configuration_required",
      -              "integration_expired",
      -              "stale_data",
      -              "version_conflict",
      -              "approval_required",
      -              "approval_expired",
      -              "idempotency_conflict",
      -              "rate_limited",
      -              "quota_exceeded",
      -              "provider_unavailable",
      -              "outcome_unknown",
      -              "reconciliation_required",
      -              "cursor_expired",
      -              "artifact_expired",
      -              "internal_error"
      -            ],
      -            "type": "string"
      -          },
      -          "domain_code": {
      -            "type": "string"
      -          },
      -          "effects": {
      -            "enum": [
      -              "none",
      -              "committed",
      -              "partial",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "field_errors": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "field": {
      -                  "type": "string"
      -                },
      -                "message": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "field",
      -                "message"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "message": {
      -            "type": "string"
      -          },
      -          "operation_id": {
      -            "type": "string"
      -          },
      -          "retry_after_ms": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "retry_strategy": {
      -            "enum": [
      -              "never",
      -              "same_request",
      -              "after_delay",
      -              "after_correction",
      -              "reconcile_first"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "effects",
      -          "retry_strategy"
      -        ],
      -        "type": "object"
      -      },
      -      "generated_at": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\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)))$",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "error",
      -        "type": "string"
      -      },
      -      "next_actions": {
      -        "items": {
      -          "oneOf": [
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "reason": {
      -                  "type": "string"
      -                },
      -                "tool_name": {
      -                  "type": "string"
      -                },
      -                "type": {
      -                  "const": "call_tool",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "type",
      -                "tool_name",
      -                "reason"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "reason": {
      -                  "type": "string"
      -                },
      -                "type": {
      -                  "const": "open_url",
      -                  "type": "string"
      -                },
      -                "url": {
      -                  "format": "uri",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "type",
      -                "url",
      -                "reason"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "fields": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "reason": {
      -                  "type": "string"
      -                },
      -                "type": {
      -                  "const": "provide_input",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "type",
      -                "fields",
      -                "reason"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "reason": {
      -                  "type": "string"
      -                },
      -                "retry_after_ms": {
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "type": {
      -                  "const": "wait",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "type",
      -                "retry_after_ms",
      -                "reason"
      -              ],
      -              "type": "object"
      -            }
      -          ]
      -        },
      -        "type": "array"
      -      },
      -      "provenance": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "freshness": {
      -              "enum": [
      -                "fresh",
      -                "stale",
      -                "unknown"
      -              ],
      -              "type": "string"
      -            },
      -            "observed_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date-time",
      -                  "pattern": "^(?:(?:\\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)))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "retrieved_at": {
      -              "format": "date-time",
      -              "pattern": "^(?:(?:\\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)))$",
      -              "type": "string"
      -            },
      -            "source_id": {
      -              "type": "string"
      -            },
      -            "source_url": {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "source_version": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "source_id",
      -            "observed_at",
      -            "retrieved_at",
      -            "freshness"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      },
      -      "schema_version": {
      -        "const": "1.0.0",
      -        "type": "string"
      -      },
      -      "warnings": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "code": {
      -              "type": "string"
      -            },
      -            "field": {
      -              "type": "string"
      -            },
      -            "message": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "code",
      -            "message"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "kind",
      -      "request_id",
      -      "generated_at",
      -      "context",
      -      "data",
      -      "warnings",
      -      "next_actions"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "context": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "app_id": {
      +            "const": "koskamo",
      +            "type": "string"
      +          },
      +          "environment": {
      +            "enum": [
      +              "public",
      +              "production",
      +              "sandbox"
      +            ],
      +            "type": "string"
      +          },
      +          "tenant_ref": {
      +            "type": "null"
      +          },
      +          "timezone": {
      +            "const": "UTC",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "app_id",
      +          "tenant_ref",
      +          "environment",
      +          "timezone"
      +        ],
      +        "type": "object"
      +      },
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied_document_version": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "base_document_version": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "dataset_id": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "document_id": {
      +            "anyOf": [
      +              {
      +                "maxLength": 256,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "proposed_change": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "action": {
      +                "enum": [
      +                  "add_document",
      +                  "replace_document",
      +                  "delete_document"
      +                ],
      +                "type": "string"
      +              },
      +              "content_hash": {
      +                "type": "string"
      +              },
      +              "next_cursor": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_url": {
      +                "anyOf": [
      +                  {
      +                    "format": "uri",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "text": {
      +                "type": "string"
      +              },
      +              "title": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "action",
      +              "title",
      +              "text",
      +              "source_url",
      +              "next_cursor",
      +              "content_hash"
      +            ],
      +            "type": "object"
      +          },
      +          "proposed_diff_artifact_id": {
      +            "type": "string"
      +          },
      +          "retrieval_visibility": {
      +            "enum": [
      +              "not_applied",
      +              "index_pending",
      +              "visible",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "reviewed_at": {
      +            "anyOf": [
      +              {
      +                "format": "date-time",
      +                "pattern": "^(?:(?:\\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)))$",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "revision_id": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "safe_review_summary": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "state": {
      +            "enum": [
      +              "pending",
      +              "approved",
      +              "rejected"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "revision_id",
      +          "dataset_id",
      +          "document_id",
      +          "base_document_version",
      +          "state",
      +          "proposed_diff_artifact_id",
      +          "applied_document_version",
      +          "retrieval_visibility",
      +          "safe_review_summary",
      +          "proposed_change",
      +          "reviewed_at"
      +        ],
      +        "type": "object"
      +      },
      +      "generated_at": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\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)))$",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "record",
      +        "type": "string"
      +      },
      +      "next_actions": {
      +        "items": {
      +          "oneOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "tool_name": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "const": "call_tool",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "tool_name",
      +                "reason"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "const": "open_url",
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "format": "uri",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "url",
      +                "reason"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "fields": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "const": "provide_input",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "fields",
      +                "reason"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "retry_after_ms": {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "type": {
      +                  "const": "wait",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "retry_after_ms",
      +                "reason"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      },
      +      "provenance": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "freshness": {
      +              "enum": [
      +                "fresh",
      +                "stale",
      +                "unknown"
      +              ],
      +              "type": "string"
      +            },
      +            "observed_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "pattern": "^(?:(?:\\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)))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "retrieved_at": {
      +              "format": "date-time",
      +              "pattern": "^(?:(?:\\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)))$",
      +              "type": "string"
      +            },
      +            "source_id": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "source_url": {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "source_version": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "source_id",
      +            "observed_at",
      +            "retrieved_at",
      +            "freshness"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "request_id": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "schema_version": {
      +        "const": "1.0.0",
      +        "type": "string"
      +      },
      +      "warnings": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "code": {
      +              "type": "string"
      +            },
      +            "field": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "kind",
      +      "request_id",
      +      "generated_at",
      +      "context",
      +      "data",
      +      "warnings",
      +      "next_actions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "context": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "app_id": {
      +            "const": "koskamo",
      +            "type": "string"
      +          },
      +          "environment": {
      +            "enum": [
      +              "public",
      +              "production",
      +              "sandbox"
      +            ],
      +            "type": "string"
      +          },
      +          "tenant_ref": {
      +            "type": "null"
      +          },
      +          "timezone": {
      +            "const": "UTC",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "app_id",
      +          "tenant_ref",
      +          "environment",
      +          "timezone"
      +        ],
      +        "type": "object"
      +      },
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "invalid_input",
      +              "unauthenticated",
      +              "permission_denied",
      +              "consent_required",
      +              "ambiguous_target",
      +              "not_found",
      +              "unsupported_capability",
      +              "configuration_required",
      +              "integration_expired",
      +              "stale_data",
      +              "version_conflict",
      +              "approval_required",
      +              "approval_expired",
      +              "idempotency_conflict",
      +              "rate_limited",
      +              "quota_exceeded",
      +              "provider_unavailable",
      +              "outcome_unknown",
      +              "reconciliation_required",
      +              "cursor_expired",
      +              "artifact_expired",
      +              "internal_error"
      +            ],
      +            "type": "string"
      +          },
      +          "domain_code": {
      +            "type": "string"
      +          },
      +          "effects": {
      +            "enum": [
      +              "none",
      +              "committed",
      +              "partial",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "field_errors": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "field": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "field",
      +                "message"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "operation_id": {
      +            "type": "string"
      +          },
      +          "retry_after_ms": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "retry_strategy": {
      +            "enum": [
      +              "never",
      +              "same_request",
      +              "after_delay",
      +              "after_correction",
      +              "reconcile_first"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "effects",
      +          "retry_strategy"
      +        ],
      +        "type": "object"
      +      },
      +      "generated_at": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\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)))$",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "error",
      +        "type": "string"
      +      },
      +      "next_actions": {
      +        "items": {
      +          "oneOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "tool_name": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "const": "call_tool",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "tool_name",
      +                "reason"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "const": "open_url",
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "format": "uri",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "url",
      +                "reason"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "fields": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "const": "provide_input",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "fields",
      +                "reason"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "reason": {
      +                  "type": "string"
      +                },
      +                "retry_after_ms": {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "type": {
      +                  "const": "wait",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "retry_after_ms",
      +                "reason"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      },
      +      "provenance": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "freshness": {
      +              "enum": [
      +                "fresh",
      +                "stale",
      +                "unknown"
      +              ],
      +              "type": "string"
      +            },
      +            "observed_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "pattern": "^(?:(?:\\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)))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "retrieved_at": {
      +              "format": "date-time",
      +              "pattern": "^(?:(?:\\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)))$",
      +              "type": "string"
      +            },
      +            "source_id": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "source_url": {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "source_version": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "source_id",
      +            "observed_at",
      +            "retrieved_at",
      +            "freshness"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "request_id": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "schema_version": {
      +        "const": "1.0.0",
      +        "type": "string"
      +      },
      +      "warnings": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "code": {
      +              "type": "string"
      +            },
      +            "field": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "kind",
      +      "request_id",
      +      "generated_at",
      +      "context",
      +      "data",
      +      "warnings",
      +      "next_actions"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description still adds real value by naming what is not returned (charges, private reviewer notes, private dataset revisions) and by warning that index visibility is reported separately from approval — a distinction an agent would otherwise likely conflate.

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?

Two short sentences, zero filler. The read scope and the required identifier are front-loaded, and the exclusions follow in a compact clause.

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-value detail is not required here. The description covers scope, side-effect profile, and the approval-versus-index-visibility nuance. Minor gap: no mention of pagination behavior despite the cursor param, though the schema documents it adequately.

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 description coverage is 100% and both parameters carry their own descriptions, including the cursor's pagination semantics and uuid format for revision_id. The description adds only the 'public' scope framing, which the schema already states. Baseline 3 applies since the schema does the heavy lifting.

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 and resource — 'Read pending, approved, or rejected revision state for revision_id' — with the scope qualifier 'in a public dataset'. Singular 'revision_id' implicitly separates it from koskamo_list_revisions, but the sibling is never named, so the differentiation is inferred rather than explicit.

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?

Clear context for when this applies: single public revision inspection, with the boundary drawn at private dataset revisions. It does not name an alternative tool for private revisions or for enumerating revisions, leaving the agent to infer that path from sibling names.

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