Skip to main content
Glama

List exact stored documents

koskamo_list_documents
Read-onlyIdempotent

List bounded stored document identifiers and versions in dataset. Optional limit and cursor continue traversal. Public or exact owner-key access only; no text search, writes, or charges. Collection changes expire the cursor.

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": {
      "dataset": "<dataset>"
    },
    "name": "koskamo_list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of dataset documents to return in this page.
cursorNoOpaque continuation cursor returned by the previous page; keep the same resource and filters.
datasetYesID or slug of the dataset to list.

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": {
      -          "completeness": {
      -            "enum": [
      -              "complete",
      -              "partial",
      -              "unavailable"
      -            ],
      -            "type": "string"
      -          },
      -          "items": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "document_id": {
      -                  "maxLength": 256,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "document_version": {
      -                  "type": "string"
      -                },
      -                "ingested_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"
      -                },
      -                "title": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "document_id",
      -                "title",
      -                "document_version",
      -                "ingested_at"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "omissions": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "code": {
      -                  "type": "string"
      -                },
      -                "count": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "reason": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "code",
      -                "reason",
      -                "count"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "page": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "consistency": {
      -                "enum": [
      -                  "snapshot",
      -                  "live"
      -                ],
      -                "type": "string"
      -              },
      -              "has_more": {
      -                "type": "boolean"
      -              },
      -              "next_cursor": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "returned_count": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "snapshot_expires_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"
      -              },
      -              "snapshot_id": {
      -                "type": "string"
      -              },
      -              "total_count": {
      -                "anyOf": [
      -                  {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              }
      -            },
      -            "required": [
      -              "returned_count",
      -              "total_count",
      -              "has_more",
      -              "next_cursor",
      -              "consistency"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "items",
      -          "page",
      -          "completeness",
      -          "omissions"
      -        ],
      -        "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": "collection",
      -        "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": {
      +          "completeness": {
      +            "enum": [
      +              "complete",
      +              "partial",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          },
      +          "items": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "document_id": {
      +                  "maxLength": 256,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "document_version": {
      +                  "type": "string"
      +                },
      +                "ingested_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"
      +                },
      +                "title": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "document_id",
      +                "title",
      +                "document_version",
      +                "ingested_at"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "omissions": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "count": {
      +                  "anyOf": [
      +                    {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "reason": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "reason",
      +                "count"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "page": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "consistency": {
      +                "enum": [
      +                  "snapshot",
      +                  "live"
      +                ],
      +                "type": "string"
      +              },
      +              "has_more": {
      +                "type": "boolean"
      +              },
      +              "next_cursor": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "returned_count": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "snapshot_expires_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"
      +              },
      +              "snapshot_id": {
      +                "type": "string"
      +              },
      +              "total_count": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "returned_count",
      +              "total_count",
      +              "has_more",
      +              "next_cursor",
      +              "consistency"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "items",
      +          "page",
      +          "completeness",
      +          "omissions"
      +        ],
      +        "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": "collection",
      +        "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.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the description is not the sole source of the safety profile. It still adds real behavioral context the annotations cannot express: the access model (public or exact owner-key), the absence of charges, and the fact that collection changes invalidate the cursor.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences with zero filler, and the resource scope is front-loaded before the pagination and constraint details. The word 'bounded' is slightly unexplained, which keeps it just short of fully tight phrasing.

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 shape need not be described, and the description still covers paging behavior, cursor invalidation, and the access model. Only the choice between this listing tool and its retrieval sibling is left unaddressed.

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%, so limit, cursor and dataset are already documented in the schema; the description only restates that limit and cursor continue traversal. It does add one useful semantic not in the schema, namely that the cursor expires when the collection changes.

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 description uses a specific verb and resource ('List bounded stored document identifiers and versions in dataset'), which is clearly distinct from a single-document getter or a search tool. It does not name the sibling alternative (e.g. koskamo_retrieve for text search), so differentiation is implied 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 line 'no text search, writes, or charges' implicitly routes text-search needs elsewhere and warns the tool is not for mutation, and 'Public or exact owner-key access only' states an access precondition. However, no alternative tool is named and there is no explicit statement of when to pick this over koskamo_retrieve or koskamo_get_document.

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