Skip to main content
Glama
markhilton
by markhilton

cja_list_calculated_metrics

Retrieve calculated metrics (custom formulas) from Adobe CJA. Filter by name, tags, share type, or data view, and paginate through results.

Instructions

List calculated metrics in CJA.

Retrieve calculated metrics (custom formulas) that can be used in reports. You can filter by name, tags, and share type.

Args: name: Optional filter by metric name (partial match). tag_names: Optional comma-delimited tag names to filter by. include_type: Optional 'shared', 'all', or 'templates' to include additional metrics. limit: Maximum results per page (1-1000, default 10). page: Page number for pagination (0-indexed, default 0). expansion: Optional comma-delimited fields: 'definition', 'tags', 'usedIn', 'compatibility'. dataview_id: Optional data view ID to filter metrics (uses configured default if not provided).

Returns: Dictionary with list of calculated metrics and total count.

Example queries: - "Show me all calculated metrics" - "List calculated metrics containing 'conversion' in the name" - "Get calculated metrics with their definitions"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
tag_namesNo
include_typeNo
limitNo
pageNo
expansionNo
dataview_idNo
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description details filtering, pagination, and expansion options. It discloses read-only behavior and no destructive actions, though it omits rate limits or authentication requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a summary, parameter details, return info, and examples. It is slightly lengthy but each sentence is meaningful and earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a list tool with 7 parameters and no output schema, the description covers arguments comprehensively and provides usage examples. It lacks detail on the return structure beyond a dictionary with list and count, which is adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema descriptions are absent (0% coverage), but the description explains each parameter's purpose, options, and defaults clearly, adding significant value beyond the schema itself.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists calculated metrics in CJA, explaining they are custom formulas for reports. This distinguishes it from siblings like cja_get_calculated_metric_details (single metric) and cja_create_calculated_metric (creation).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides filter parameters and example queries guiding usage. It does not explicitly exclude when to use alternatives, but the context and examples imply proper use, e.g., listing vs. getting details.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/markhilton/adobe-cja-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server