Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ describe("registerScrapeArtistSocialsTool", () => {
]);
});

it("describes the quoted price and explicit approval", () => {
expect(config.description).toContain("explicit approval");
expect(config.description).toContain("$0.05 per profile plus $0.01 per requested post");
it("describes the credit quote and approval before starting a refresh", () => {
expect(config.description).toBe(
"Refresh public social profiles and recent posts for an artist you can access. Recoup shows the maximum credit cost before starting and uses existing credits only after you approve.",
);
});

it("reuses the REST body limits for posts", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function registerScrapeArtistSocialsTool(server: McpServer): void {
{
title: "Refresh Artist Social Profiles",
description:
"Refresh public profile stats and recent posts for an artist you can access. The first call quotes the maximum at $0.05 per profile plus $0.01 per requested post. After explicit approval, pass the quote to start the refresh and receive run IDs; Recoup saves collected posts and charges only for profiles whose jobs start.",
"Refresh public social profiles and recent posts for an artist you can access. Recoup shows the maximum credit cost before starting and uses existing credits only after you approve.",
inputSchema: scrapeArtistSocialsSchema,
annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: true },
},
Expand Down
Loading