Skip to main content
Glama
metrxbots

Metrx MCP Server

by metrxbots

Get Attribution Report

metrx_get_attribution_report
Read-onlyIdempotent

Retrieve an attribution report linking agent actions to business outcomes, showing outcome counts, total values, confidence scores, and top contributors.

Instructions

Get attribution report showing which agent actions led to business outcomes. Shows outcome counts, total values, confidence scores, and top contributing agents. Do NOT use for board-level reporting — use generate_roi_audit for formal audit reports.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idNoOptional: filter to specific agent (omit for fleet-wide)
daysNoNumber of days to include (default: 30)
modelNoAttribution model preference. Note: the current /api/outcomes endpoint returns outcomes regardless of attribution method, so this is informational only. Canonical enum source: agentledger apps/web/lib/attribution/types.ts.direct
Behavior4/5

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

Annotations already indicate read-only, non-destructive, idempotent behavior. The description adds transparency about the 'model' parameter being informational only due to backend behavior, and references the canonical enum source. This disclosure is valuable beyond 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 extremely concise: three sentences that front-load the purpose, include the warning about alternative tool use, and add necessary behavioral notes. No superfluous words.

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?

Despite lacking an output schema, the description hints at return structure (outcome counts, values, etc.). With zero required parameters and all schema descriptions covered, the contextual information is sufficient for most usage scenarios. Could mention pagination or limits, but not essential.

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?

With 100% schema description coverage, the schema already describes all three parameters. The description adds value by explaining the 'model' parameter's actual effect (informational only) and providing context about the enum source. The baseline is 3, and this added insight merits a 4.

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 retrieves an attribution report linking agent actions to business outcomes, listing specific contents (outcome counts, values, confidence scores, top agents). It also distinguishes from the sibling 'generate_roi_audit' by explicitly excluding its use for board-level reporting.

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 explicit guidance on when not to use this tool ('Do NOT use for board-level reporting') and directs to an alternative ('use generate_roi_audit'). It lacks an explicit 'when to use' statement but the context of attribution analysis is clear.

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/metrxbots/mcp-server'

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