Skip to main content
Glama

Read sales attributed to one post

soclo_sales_attribution
Read-onlyIdempotent

Show the matched orders and link opens for one post, resolved from the account’s per-post figures, and report THREE figures that must not be mixed up: this post’s revenue, the revenue attributed across all posts, and what the shop actually took — some of which is tied to no post at all. Read-only and free. It tells you which source reported what; it CANNOT prove a post caused a sale, and a missing value is NOT zero — say what is missing rather than inventing a number. The ids are Soclo post ids, not platform ids.

Input Schema

NameRequiredDescriptionDefault
postIdYesThe Soclo post id whose matched orders and link opens you want — the id Soclo gives a published post, not the platform’s. Its figures are selected from the account’s per-post totals; the account-wide and shop-wide figures are returned separately.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, so the bar is lower — yet the description adds meaningful behavior beyond them: it is free, it reports which source produced each figure, it explicitly cannot prove causation, and it warns that a missing value is not zero and must be stated rather than invented. That is exactly the kind of epistemic and semantic caveat structured fields cannot carry.

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?

It is front-loaded with what the tool returns before moving to caveats, and each sentence carries distinct information (figures, safety, limitations, id semantics). It is slightly dense with emphasis ('THREE figures that must not be mixed up', 'CANNOT prove'), but that emphasis is load-bearing for a misuse-prone metric.

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 semantically tricky attribution tool with no output schema, the description names the three returned figures, their differing scopes, the source-provenance caveat and the missing-value rule, while annotations cover the safety profile. It does not describe the shape of the response payload, which with no output schema is the one remaining gap.

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

Parameters3/5

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

Schema coverage is 100% and the postId schema description is already rich, including that the figures are selected from the account's per-post totals. The description's contribution — that these are Soclo post ids, not platform ids — largely restates the schema, so baseline 3 is appropriate.

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 states a specific verb and resource — showing matched orders and link opens for one post — and immediately distinguishes its scope from the account-wide and shop-wide figures. An agent can tell this is the per-post attribution reader without opening the schema.

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?

It gives clear context for when to reach for it (per-post attribution) and scopes itself against the account-wide and shop-wide figures, and 'read-only and free' signals it is safe to call liberally. It stops short of naming the sibling tool that returns those broader figures (e.g. soclo_sales_overview), so the routing is implied rather than explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources