Skip to main content
MCP Resources are read-only documents your client can subscribe to once and re-read on demand without burning tool-call budget. Cometly exposes five resources covering workspace orientation and the analytics vocabulary.

At a glance

When to use a Resource vs a tool

Resources are best for static-ish reference data the agent shouldn’t re-fetch every turn:
  • Metric catalogs change rarely — fetch once per session.
  • Attribution model definitions never change.
  • Dimension lists never change.
  • Custom event labels change when the user re-labels a slot — re-fetch occasionally.
For dynamic data (current campaign performance, recent webhooks, etc.) use the corresponding tool.

Subscribing

OAuth-aware clients (Claude Desktop, Cursor) handle Resource subscription automatically. Resource reads are subject to the same mcp_space:{id} ability as tools.

Example — reading a Resource

The MCP resources/read method returns the resource body in the same format the corresponding tool would produce:
Response (truncated):