Skip to content
{mcpdesc}

Use lastModified only where MCP defines it

Resource annotations exist in early MCP protocol versions, but lastModified was added in 2025-06-18. If a declaration covers an earlier version, omit lastModified or describe separate variants with disjoint scopes.

Resource Annotations carry lastModified only from MCP 2025-06-18, on declarations and on content blocks.

Rule ID: mcp.annotations.last-modified.protocol-version
Owner: mcp
Surface: Annotations · Path: lastModified
Kind: structural
Requirement level: must
Status: internal · Enforcement: internal

2024-11-05 2025-03-26 2025-06-18 2025-11-25 2026-07-28
applies applies applies applies applies

Source: expected-invalid/annotations-last-modified-before-2025-06-18.json · Selected: /resources/0/annotations

{
"priority": 0.5,
"lastModified": "2025-05-03T14:30:00Z"
}

annotations.yaml at immutable tag v0.9.0-rc.3.