Skip to main content
Glama

Read a revision diff artifact

koskamo_get_artifact
Read-onlyIdempotent

Read a bounded page of an exact public revision diff by artifact_id. Optional cursor continues the declared JSON bytes. No writes, downloads, uploads, private reviewer notes, or charges. Concatenate content pages before parsing the artifact.

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": {
      "artifact_id": "<artifact_id>"
    },
    "name": "koskamo_get_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoOpaque continuation cursor returned by the previous page; keep the same resource and filters.
artifact_idYesExact artifact ID returned for a revision, in revision:<UUID> form.

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": {
      -          "app_url": {
      -            "format": "uri",
      -            "type": "string"
      -          },
      -          "artifact_id": {
      -            "type": "string"
      -          },
      -          "byte_size": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "content": {
      -            "type": "string"
      -          },
      -          "content_hash": {
      -            "type": "string"
      -          },
      -          "created_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"
      -          },
      -          "expires_at": {
      -            "type": "null"
      -          },
      -          "media_type": {
      -            "const": "application/json",
      -            "type": "string"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "artifact_id",
      -          "name",
      -          "media_type",
      -          "byte_size",
      -          "content_hash",
      -          "created_at",
      -          "expires_at",
      -          "app_url",
      -          "content",
      -          "next_cursor"
      -        ],
      -        "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": {
      +          "app_url": {
      +            "format": "uri",
      +            "type": "string"
      +          },
      +          "artifact_id": {
      +            "type": "string"
      +          },
      +          "byte_size": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "content": {
      +            "type": "string"
      +          },
      +          "content_hash": {
      +            "type": "string"
      +          },
      +          "created_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"
      +          },
      +          "expires_at": {
      +            "type": "null"
      +          },
      +          "media_type": {
      +            "const": "application/json",
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "artifact_id",
      +          "name",
      +          "media_type",
      +          "byte_size",
      +          "content_hash",
      +          "created_at",
      +          "expires_at",
      +          "app_url",
      +          "content",
      +          "next_cursor"
      +        ],
      +        "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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, but the description adds real value beyond them: it bounds the response to a page, enumerates what is excluded (downloads, uploads, private reviewer notes, charges), and tells the agent to concatenate pages before parsing. Scope exclusions like private reviewer notes and no charges are not derivable from the annotation set. It stops short of describing error or expiry behavior for stale artifacts.

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?

Three short sentences with zero filler, and the core scope plus the paging instruction are front-loaded before the exclusion list. Every sentence carries distinct information.

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

Completeness4/5

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

With a full output schema and complete annotations, the description only needs to cover paging semantics and scope, and it does both. The main residual gap is what happens when an artifact_id is stale or the revision is private, which an agent would want to know before calling.

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

Parameters3/5

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

Schema coverage is 100%, so both artifact_id and cursor are already documented in the schema, including the revision:<UUID> pattern and the 'opaque continuation cursor' note. The description only lightly extends this by saying the cursor continues the declared JSON bytes; baseline 3 is appropriate when 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?

The first sentence names a specific verb and resource — 'Read a bounded page of an exact public revision diff by artifact_id' — which is precise enough to separate this from the metadata-oriented siblings like koskamo_get_revision and koskamo_list_revisions. It never names those siblings explicitly, so the differentiation is inferred from the resource wording rather than stated.

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

Usage Guidelines3/5

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

The description gives clear operational guidance for pagination ('Optional cursor continues the declared JSON bytes' and 'Concatenate content pages before parsing the artifact'), which tells an agent how to consume the tool correctly. It does not state prerequisites (where artifact_id comes from) or name an alternative to use instead when a full diff or revision metadata is wanted, so the when-not guidance is absent.

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