Skip to content

Commit 4f5fa39

Browse files
committed
Update tool description and version
1 parent 7f5c5b5 commit 4f5fa39

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A Model Context Protocol (MCP) server for Genesys Cloud's Platform API.
1818
| [Search Voice Conversation](/docs/tools.md#search-voice-conversations) | Searches voice conversations by optional criteria |
1919
| [Conversation Transcript](/docs/tools.md#conversation-transcript) | Retrieves conversation transcript |
2020
| [OAuth Clients](/docs/tools.md#oauth-clients) | Retrieves a list of all the OAuth clients |
21-
| [OAuth Client Usage](/docs/tools.md#oauth-client-usage) | Retrieves usage of an OAuth client |
21+
| [OAuth Client Usage](/docs/tools.md#oauth-client-usage) | Retrieves OAuth client usage for given period |
2222

2323
## Usage with Claude Desktop
2424

docs/tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Platform API endpoints used:
242242

243243
**Tool name:** `oauth_client_usage`
244244

245-
Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of requests per organization.
245+
Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of Platform API endpoints used by the client.
246246

247247
[Source file](/src/tools/oauthClientUsage/oauthClientUsage.ts).
248248

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": "0.2",
33
"name": "Genesys Cloud MCP Server",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"description": "Interact with Genesys Cloud's Platform API",
66
"long_description": "This extension allows Claude to connect to Genesys Cloud's Platform API via a local MCP server. It provides tools for querying queue volumes, retrieving conversation samples, analyzing sentiment and voice quality, accessing transcripts, and more.\n\nThis project is not affiliated with Genesys.",
77
"author": {
@@ -62,7 +62,7 @@
6262
},
6363
{
6464
"name": "oauth_client_usage",
65-
"description": "Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of requests per organization."
65+
"description": "Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of Platform API endpoints used by the client."
6666
}
6767
],
6868
"user_config": {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@makingchatbots/genesys-cloud-mcp-server",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "A Model Context Protocol (MCP) server exposing Genesys Cloud tools for LLMs, including sentiment analysis, conversation search, topic detection and more.",
55
"bin": "./dist/cli.js",
66
"type": "module",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const withAuth = OAuthClientCredentialsWrapper(
2525

2626
const server: McpServer = new McpServer({
2727
name: "Genesys Cloud",
28-
version: "1.0.2", // Same version as version in package.json
28+
version: "1.0.3", // Same version as version in package.json
2929
});
3030

3131
const cache = new LRUCache<string, OAuthClientUsageResponse>({

src/tools/oauthClientUsage/oauthClientUsage.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe("OAuth Client Usage", () => {
4949
_meta: undefined,
5050
annotations: { title: "OAuth Client Usage" },
5151
description:
52-
"Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of requests per organization.",
52+
"Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of Platform API endpoints used by the client.",
5353
inputSchema: {
5454
properties: {
5555
oauthClientId: {

src/tools/oauthClientUsage/oauthClientUsage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { isUnauthorisedError } from "../utils/genesys/isUnauthorisedError.js";
77
import { waitFor } from "../utils/waitFor.js";
88

99
const MAX_ATTEMPTS = 10;
10-
const TOOL_CACHE_KEY = "oauthClientUsage";
10+
const TOOL_CACHE_KEY = "oauth-client-usage";
1111

1212
export interface OAuthClientUsageResponse {
1313
startDate: string;
@@ -55,7 +55,7 @@ export const oauthClientUsage: ToolFactory<
5555
name: "oauth_client_usage",
5656
annotations: { title: "OAuth Client Usage" },
5757
description:
58-
"Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of requests per organization.",
58+
"Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of Platform API endpoints used by the client.",
5959
paramsSchema,
6060
},
6161
call: async ({ oauthClientId, startDate, endDate }) => {

tests/integration/serverRuns.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe("Server Runs", () => {
8181

8282
client = new Client({
8383
name: "test-client",
84-
version: "1.0.2",
84+
version: "1.0.3",
8585
});
8686

8787
await client.connect(transport);

0 commit comments

Comments
 (0)