Title97/100
Get authenticated API capabilities
The title clearly communicates the tool’s action and subject. Keep it concise.
Description82/100
Returns the current workspace context, discovery URLs, shared request conventions, supported webhook events, and public resource operations available to the authenticated Bearer [redacted] Permission: none. API reference: https://mailrith.com/developers/api-reference.
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.
{
"title": "Get authenticated API capabilities",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema82/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"$defs": {
"Capabilities": {
"type": "object",
"required": [
"version",
"workspace",
"authentication",
"credential",
"discovery",
"sdks",
"mcp",
"conventions",
"capability_mode",
"limitations",
"events",
"resources"
],
"properties": {
"mcp": {
"$ref": "#/$defs/PublicApiMcp"
},
"sdks": {
"$ref": "#/$defs/PublicApiSdks"
},
"events": {
"$ref": "#/$defs/WebhookEventSupport"
},
"version": {
"type": "string"
},
"discovery": {
"type": "object",
"required": [
"documentation_url",
"reference_url",
"agents_url",
"sdk_docs_url",
"typescript_sdk_url",
"python_sdk_url",
"mcp_docs_url",
"mcp_url",
"llms_url",
"llms_full_url",
"openapi_url",
"webhook_subscriptions_url",
"oauth_authorization_server_url"
],
"properties": {
"mcp_url": {
"type": "string"
},
"llms_url": {
"type": "string"
},
"agents_url": {
"type": "string"
},
"openapi_url": {
"type": "string"
},
"mcp_docs_url": {
"type": "string"
},
"sdk_docs_url": {
"type": "string"
},
"llms_full_url": {
"type": "string"
},
"reference_url": {
"type": "string"
},
"python_sdk_url": {
"type": "string"
},
"documentation_url": {
"type": "string"
},
"typescript_sdk_url": {
"type": "string"
},
"webhook_subscriptions_url": {
"type": "string"
},
"oauth_authorization_server_url": {
"type": "string"
}
}
},
"resources": {
"type": "array",
"items": {
"$ref": "#/$defs/CapabilityResource"
}
},
"workspace": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"credential": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"id",
"name",
"status",
"scopes",
"key_preview",
"created_at",
"updated_at"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"enum": [
"workspace_api_key"
],
"type": "string"
},
"scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"status": {
"enum": [
"active",
"expired",
"revoked",
"rotated"
],
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"expires_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"revoked_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"key_preview": {
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
}
},
{
"type": "object",
"required": [
"type",
"id",
"status",
"scopes",
"token_preview",
"client",
"created_by_user_id",
"last_authorized_by_user_id",
"expires_at",
"created_at",
"updated_at"
],
"properties": {
"id": {
"type": "string"
},
"type": {
"enum": [
"oauth_access_token"
],
"type": "string"
},
"client": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"status": {
"enum": [
"active"
],
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"revoked_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"last_used_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"token_preview": {
"type": "string"
},
"created_by_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_authorized_by_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
]
},
"conventions": {
"type": "object",
"required": [
"pagination_type",
"pagination_limit_param",
"pagination_cursor_param",
"idempotency_header"
],
"properties": {
"pagination_type": {
"enum": [
"cursor"
],
"type": "string"
},
"idempotency_header": {
"type": "string"
},
"pagination_limit_param": {
"type": "string"
},
"pagination_cursor_param": {
"type": "string"
}
}
},
"limitations": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message",
"affected_operation_ids"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"setup_url": {
"type": "string",
"format": "uri"
},
"affected_operation_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Exact operation IDs omitted because of this limitation."
}
}
},
"description": "Current plan or workspace prerequisites that caused otherwise supported operations to be omitted."
},
"authentication": {
"type": "object",
"required": [
"type",
"header_name",
"header_value_prefix",
"workspace_scoped",
"scopes_supported",
"supported_credential_types"
],
"properties": {
"type": {
"enum": [
"bearer"
],
"type": "string"
},
"header_name": {
"type": "string"
},
"scopes_supported": {
"type": "array",
"items": {
"type": "string"
}
},
"workspace_scoped": {
"type": "boolean"
},
"header_value_prefix": {
"type": "string"
},
"supported_credential_types": {
"type": "array",
"items": {
"enum": [
"workspace_api_key",
"oauth_access_token"
],
"type": "string"
}
}
}
},
"capability_mode": {
"enum": [
"effective"
],
"type": "string",
"description": "Resources contain only operations currently available to this credential, plan, workspace state, rollout state, and active MCP client catalog when called through MCP."
}
}
},
"PublicApiMcp": {
"type": "object",
"required": [
"package_name",
"docs_url",
"server_url",
"recommended_transport",
"supported_transports"
],
"properties": {
"docs_url": {
"type": "string"
},
"read_only": {
"type": "boolean",
"description": "True when this MCP request is restricted to read-only operations."
},
"server_url": {
"type": "string"
},
"package_name": {
"type": "string"
},
"active_toolsets": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"description": "Toolsets selected for this MCP request. Omitted for direct REST requests."
},
{
"type": "null"
}
]
},
"active_operation_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"description": "Exact operation IDs exposed by this MCP client's active tool catalog. Omitted for direct REST requests and unrestricted MCP clients."
},
{
"type": "null"
}
]
},
"supported_transports": {
"type": "array",
"items": {
"enum": [
"streamable_http",
"stdio"
],
"type": "string"
}
},
"recommended_transport": {
"enum": [
"streamable_http"
],
"type": "string"
}
}
},
"PublicApiSdks": {
"type": "object",
"required": [
"typescript",
"python"
],
"properties": {
"python": {
"type": "object",
"required": [
"package_name",
"docs_url",
"language"
],
"properties": {
"docs_url": {
"type": "string"
},
"language": {
"enum": [
"python"
],
"type": "string"
},
"package_name": {
"type": "string"
}
}
},
"typescript": {
"type": "object",
"required": [
"package_name",
"docs_url",
"language"
],
"properties": {
"docs_url": {
"type": "string"
},
"language": {
"enum": [
"typescript"
],
"type": "string"
},
"package_name": {
"type": "string"
}
}
}
}
},
"WebhookSigning": {
"type": "object",
"required": [
"algorithm",
"id_header",
"timestamp_header",
"signature_header",
"signature_prefix"
],
"properties": {
"algorithm": {
"enum": [
"hmac-sha256"
],
"type": "string"
},
"id_header": {
"type": "string"
},
"signature_header": {
"type": "string"
},
"signature_prefix": {
"type": "string"
},
"timestamp_header": {
"type": "string"
}
}
},
"CapabilityResource": {
"type": "object",
"required": [
"key",
"name",
"description",
"operations"
],
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"operations": {
"type": "array",
"items": {
"$ref": "#/$defs/CapabilityOperation"
}
},
"description": {
"type": "string"
}
}
},
"CapabilityOperation": {
"type": "object",
"required": [
"method",
"path",
"operation_id",
"summary",
"required_scopes"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"type": "string"
},
"summary": {
"type": "string"
},
"operation_id": {
"type": "string"
},
"required_scopes": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"WebhookEventSupport": {
"type": "object",
"required": [
"subscriptions_url",
"supported_events",
"supported_event_patterns",
"signing"
],
"properties": {
"signing": {
"$ref": "#/$defs/WebhookSigning"
},
"supported_events": {
"type": "array",
"items": {
"type": "string"
}
},
"subscriptions_url": {
"type": "string"
},
"supported_event_patterns": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"anyOf": [
{
"required": [
"response"
]
},
{
"required": [
"error"
]
}
],
"required": [
"operation_id",
"request_id"
],
"properties": {
"error": {
"type": "object",
"required": [
"category",
"status",
"code",
"message",
"retryable"
],
"properties": {
"code": {
"type": "string"
},
"retry": {
"type": "object",
"required": [
"safe",
"guidance"
],
"properties": {
"safe": {
"type": "boolean"
},
"guidance": {
"type": "string"
}
},
"additionalProperties": false
},
"issues": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"path": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 20
},
"status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"reason": {
"type": "string"
},
"resource": {
"type": "object",
"required": [
"type",
"id"
],
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"message": {
"type": "string"
},
"category": {
"enum": [
"validation",
"authentication",
"permission",
"conflict",
"rate_limit",
"transient",
"unknown"
],
"type": "string"
},
"recovery": {
"type": "object",
"required": [
"action",
"message"
],
"properties": {
"action": {
"enum": [
"replace_api_key",
"reconnect_oauth"
],
"type": "string"
},
"message": {
"type": "string"
},
"access_update_url": {
"type": "string",
"format": "uri"
},
"replacement_scopes": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50
},
"permissions_help_url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
},
"retryable": {
"type": "boolean"
},
"prerequisite": {
"type": "object",
"required": [
"resource",
"state"
],
"properties": {
"state": {
"enum": [
"missing",
"disabled"
],
"type": "string"
},
"resource": {
"type": "string"
},
"setup_url": {
"type": "string",
"format": "uri"
},
"work_profile": {
"type": "string"
},
"required_scopes": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50
}
},
"additionalProperties": false
},
"missing_scopes": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50
},
"credential_type": {
"enum": [
"workspace_api_key",
"oauth_access_token"
],
"type": "string"
},
"required_scopes": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50
},
"access_update_url": {
"type": "string",
"format": "uri"
},
"reconnect_required": {
"type": "boolean"
},
"replacement_scopes": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50
},
"permissions_help_url": {
"type": "string",
"format": "uri"
},
"recommended_work_profiles": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
}
},
"additionalProperties": false
},
"response": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/$defs/Capabilities"
}
}
},
"request_id": {
"type": "string",
"pattern": "^mcp_[0-9a-f-]{36}$",
"description": "The stable correlation ID for this MCP tool invocation."
},
"operation_id": {
"type": "string",
"const": "getPublicApiCapabilities",
"description": "The stable Mailrith public API operation ID."
}
},
"additionalProperties": false
}