Title100/100
List Workspaces
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
List the workspaces this sign-in can act in, across every organization the user belongs to. Returns { workspaces } with one entry per workspace: id, name, organization { id, name }, role { key, name }, permissions, isDefault and current. Call this when the user names a workspace, client or organization, or when data they expect is missing, then pass the matching id as workspaceId to every other tool. Without workspaceId, tools act in the workspace marked current. An API key belongs to one workspace, so it lists only that one. Takes no arguments.
The description explains the capability, when to use it, and what to expect.
Inputs100/100
This tool declares no inputs, so argument descriptions are not needed.
No input fields.
Annotations100/100
All four behavior hints are declared.
{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema90/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"required": [
"workspaces"
],
"properties": {
"workspaces": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"organization",
"role",
"permissions",
"isDefault",
"current"
],
"properties": {
"id": {
"type": "string",
"description": "Workspace ID; pass it as workspaceId to other tools"
},
"name": {
"type": "string",
"description": "Workspace name as shown in RedReplier"
},
"role": {
"type": "object",
"required": [
"key",
"name"
],
"properties": {
"key": {
"type": "string",
"description": "Stable role identifier"
},
"name": {
"type": "string",
"description": "Role name as shown in RedReplier"
}
},
"description": "This member's role in the workspace",
"additionalProperties": true
},
"current": {
"type": "boolean",
"description": "True for the workspace this call ran in"
},
"isDefault": {
"type": "boolean",
"description": "True for the workspace tools use when workspaceId is omitted"
},
"permissions": {
"type": "array",
"items": {
"type": "string"
},
"description": "What this member may do here; write tools need redreplier.write"
},
"organization": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"description": "Organization ID"
},
"name": {
"type": "string",
"description": "Organization name"
}
},
"description": "Organization that owns the workspace",
"additionalProperties": true
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"additionalProperties": false
}