Skip to main content
Glama
rustem-shiriiazdanov

atlassian-marketplace-mcp

metrics_details_by_metric

Read-onlyIdempotent

Retrieves detailed license events for a chosen sales metric (churn, conversion, or renewal). Filter by product, hosting, partner type, date range, and more to inspect underlying transaction data.

Instructions

License-event details underlying a sale metric. Returns events[] rows: {addonKey, addonName, hosting, lastUpdated, eventDate, transactionId, licenseDetails, productId}. Supports rich filters (addon, hosting, partnerType, text, sortBy, order, offset, limit). Server caps limit at 50.

📖 Spec (GET /rest/3/reporting/developer-space/{developerId}/sales/metrics/{saleMetric}/details): https://developer.atlassian.com/platform/marketplace/rest/v4/api-group-reporting/#api-rest-3-reporting-developer-space-developerid-sales-metrics-salemetric-details-get

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoFree-text search across event identifiers (SEN / appEntitlementNumber, transactionId, customer email, etc). Verified to narrow correctly.
addonNoApp key (e.g. `com.example.your-app`). Undocumented but works as an app filter. Prefer `productId`.
limitNoMax 50 (server hard-cap; values above are clamped to 50).
orderNoSort direction. **`asc` works; `desc` is unreliable on this endpoint** — Atlassian returns a non-monotonic ordering for `order=desc` (verified 2026-06-03). With no `sortBy`, `order` is ignored entirely. Prefer `sortBy=date&order=asc` and reverse client-side if you need descending.
offsetNo
sortByNoSort field. Allowed per Atlassian: `addonName`, `date`, `hosting`, `transactionId`, `licenseId`. Anything else → HTTP 400. Only meaningful combined with `order=asc` (see `order`).
endDateNoISO date YYYY-MM-DD (filters by eventDate).
hostingNoFilter events by hosting. Response objects use capitalized 'Cloud'/'Server'/'Data Center'.
productIdNoProduct UUID — narrows events to one app (documented + verified 2026-06-03; all returned rows match).
startDateNoISO date YYYY-MM-DD (filters by eventDate).
appEditionNoFilter by app edition (free/standard/advanced).
saleMetricYesWhich underlying metric's events to fetch.
lastUpdatedNoISO date YYYY-MM-DD — events whose lastUpdated is on/after this date. Verified to narrow correctly.
partnerTypeNoFilter by partner attribution channel: `direct`, `expert`, `reseller`. NOTE: Atlassian's error message also lists `upgrade` as allowable, but passing it returns HTTP 400 (Atlassian-side contradiction, verified 2026-06-03) — so it's excluded here.
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds significant behavioral insights: server cap at 50, unreliability of order=desc, sortBy restrictions, and known contradictions (partnerType upgrade). This goes well beyond the annotations.

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

Conciseness5/5

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

The description is concise, one paragraph with a clear structure: purpose, output format, filter capabilities, key constraint (limit), and a link to documentation. Every sentence adds essential information without verbosity.

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?

Given 14 parameters, 6 enums, and no output schema, the description covers the main purpose, output fields, and important parameters. It includes a link for full details. However, it does not elaborate on the exact relationship to 'sale metric' or clarify pagination behavior beyond offset/limit.

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

Parameters4/5

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

Schema coverage is 93%, so baseline is 3. The description adds value by noting behavioral quirks (e.g., order=desc unreliable, partnerType upgrade excluded) and providing context on return fields. However, it does not describe each parameter individually beyond the 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 the tool returns 'License-event details underlying a sale metric' with specific output fields and mentions the API endpoint. It distinguishes itself as a detailed view under a sale metric, which is distinct from aggregate metrics tools like metrics_churn among siblings.

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

Usage Guidelines3/5

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

The description explains what the tool does but does not provide explicit guidance on when to use it versus alternatives (e.g., metrics_details_export, metrics_churn). The usage is implied by the description of detailed events, but no when-not-to-use or alternative recommendations are given.

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/rustem-shiriiazdanov/atlassian-marketplace-mcp'

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