Skip to main content
Glama
markhilton
by markhilton

cja_get_calculated_metric_details

Fetch complete details and formula definition for any calculated metric. Understand how metrics are computed or copy their definitions.

Instructions

Get detailed information about a specific calculated metric.

Retrieve complete details about a calculated metric including its definition/formula. This is useful for understanding how a metric is calculated or copying definitions.

Args: metric_id: Calculated metric ID to retrieve (required). expansion: Optional comma-delimited fields: 'definition', 'tags', 'usedIn', 'compatibility'.

Returns: Dictionary with calculated metric details and formula definition.

Example queries: - "Show me the formula for calculated metric a5066209" - "Get definition for the conversion rate metric" - "What's the formula for metric ID 12345?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metric_idYes
expansionNo
Behavior3/5

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

With no annotations, the description carries full burden. It mentions returning a dictionary with details and formula, but lacks information on error handling, authentication requirements, or any side effects. Read-only nature is implied but not explicit.

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, args, returns, and examples. It is front-loaded with purpose. The example queries are helpful but take some space; could be slightly more concise.

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 simple retrieval tool with two parameters (one required) and no output schema, the description covers essential aspects: what it does, what parameters do, and what is returned. Lack of error details is a minor gap.

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 description coverage is 0%, so the description must compensate. It explains metric_id as 'Calculated metric ID to retrieve (required)' and expansion as 'Optional comma-delimited fields: definition, tags, usedIn, compatibility'. This adds significant meaning beyond the raw schema.

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 it retrieves detailed information about a specific calculated metric, including its definition/formula. This distinguishes it from sibling tools like cja_list_calculated_metrics (which lists) and cja_create_calculated_metric (which creates).

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 example queries that illustrate appropriate use cases, such as 'Show me the formula for calculated metric a5066209'. However, it does not explicitly state when not to use this tool or list alternatives.

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