@armature-tech/mcp-analytics 0.6.43 → 0.6.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -445,7 +445,7 @@ tool. Releases before 2026-10 named it `request_capability`; the earlier
445
445
  both are set. The tool accepts one required `capability` string and uses this
446
446
  description exactly:
447
447
 
448
- > Call this before you tell the user that these tools can't do what they asked. It records the request so the developers of this server can add it. It changes no data and contacts no one. Then answer the user as usual.
448
+ > Use this when the user asks for something these tools can't do. It records the request so the developers of this server can add it. It changes no data and contacts no one.
449
449
 
450
450
  It declares the annotations app directories such as ChatGPT's require:
451
451
  `readOnlyHint: false` (it records an analytics event), `destructiveHint: false`
@@ -4,7 +4,7 @@ import type { JsonObjectSchema, McpAnalyticsConfig } from "./types.js";
4
4
  export declare const SEND_FEEDBACK_TOOL_NAME = "send_feedback";
5
5
  export declare const LEGACY_REQUEST_CAPABILITY_TOOL_NAME = "request_capability";
6
6
  export declare const REQUEST_CAPABILITY_TOOL_NAME = "send_feedback";
7
- export declare const REQUEST_CAPABILITY_DESCRIPTION = "Call this before you tell the user that these tools can't do what they asked. It records the request so the developers of this server can add it. It changes no data and contacts no one. Then answer the user as usual.";
7
+ export declare const REQUEST_CAPABILITY_DESCRIPTION = "Use this when the user asks for something these tools can't do. It records the request so the developers of this server can add it. It changes no data and contacts no one.";
8
8
  export declare const PAST_REQUEST_CAPABILITY_DESCRIPTIONS: readonly string[];
9
9
  export declare const REQUEST_CAPABILITY_ARGUMENT_DESCRIPTION = "One English sentence describing the missing capability needed for the user's task. Translate the summary into English even when the user writes in another language. Describe generic actions and roles. Omit names, contacts, IDs, credentials and all tool argument values.";
10
10
  export declare const REQUEST_CAPABILITY_INPUT_SCHEMA: JsonObjectSchema;
@@ -11,10 +11,11 @@ const utils_js_1 = require("./utils.js");
11
11
  exports.SEND_FEEDBACK_TOOL_NAME = "send_feedback";
12
12
  exports.LEGACY_REQUEST_CAPABILITY_TOOL_NAME = "request_capability";
13
13
  exports.REQUEST_CAPABILITY_TOOL_NAME = exports.SEND_FEEDBACK_TOOL_NAME;
14
- exports.REQUEST_CAPABILITY_DESCRIPTION = "Call this before you tell the user that these tools can't do what they asked. It records the request so the developers of this server can add it. It changes no data and contacts no one. Then answer the user as usual.";
14
+ exports.REQUEST_CAPABILITY_DESCRIPTION = "Use this when the user asks for something these tools can't do. It records the request so the developers of this server can add it. It changes no data and contacts no one.";
15
15
  // Descriptions earlier releases gave the feedback tool, newest first. The
16
16
  // doctor inspects servers on any release, so it recognizes all of them.
17
17
  exports.PAST_REQUEST_CAPABILITY_DESCRIPTIONS = [
18
+ "Call this before you tell the user that these tools can't do what they asked. It records the request so the developers of this server can add it. It changes no data and contacts no one. Then answer the user as usual.",
18
19
  "Records that the user asked for something these tools cannot do, so the developers of this server can add it. It changes no data and contacts no one. Call it whenever you cannot do what the user asked with these tools, including when you send them to an app, a website or a manual step instead. Then answer them as usual.",
19
20
  "Request a capability that is not provided by the currently available tools. Use this when a capability is required to complete the user’s request and no existing tool can perform it.",
20
21
  ];
@@ -4,7 +4,7 @@ import type { JsonObjectSchema, McpAnalyticsConfig } from "./types.js";
4
4
  export declare const SEND_FEEDBACK_TOOL_NAME = "send_feedback";
5
5
  export declare const LEGACY_REQUEST_CAPABILITY_TOOL_NAME = "request_capability";
6
6
  export declare const REQUEST_CAPABILITY_TOOL_NAME = "send_feedback";
7
- export declare const REQUEST_CAPABILITY_DESCRIPTION = "Call this before you tell the user that these tools can't do what they asked. It records the request so the developers of this server can add it. It changes no data and contacts no one. Then answer the user as usual.";
7
+ export declare const REQUEST_CAPABILITY_DESCRIPTION = "Use this when the user asks for something these tools can't do. It records the request so the developers of this server can add it. It changes no data and contacts no one.";
8
8
  export declare const PAST_REQUEST_CAPABILITY_DESCRIPTIONS: readonly string[];
9
9
  export declare const REQUEST_CAPABILITY_ARGUMENT_DESCRIPTION = "One English sentence describing the missing capability needed for the user's task. Translate the summary into English even when the user writes in another language. Describe generic actions and roles. Omit names, contacts, IDs, credentials and all tool argument values.";
10
10
  export declare const REQUEST_CAPABILITY_INPUT_SCHEMA: JsonObjectSchema;
@@ -8,10 +8,11 @@ import { isRecord } from "./utils.js";
8
8
  export const SEND_FEEDBACK_TOOL_NAME = "send_feedback";
9
9
  export const LEGACY_REQUEST_CAPABILITY_TOOL_NAME = "request_capability";
10
10
  export const REQUEST_CAPABILITY_TOOL_NAME = SEND_FEEDBACK_TOOL_NAME;
11
- export const REQUEST_CAPABILITY_DESCRIPTION = "Call this before you tell the user that these tools can't do what they asked. It records the request so the developers of this server can add it. It changes no data and contacts no one. Then answer the user as usual.";
11
+ export const REQUEST_CAPABILITY_DESCRIPTION = "Use this when the user asks for something these tools can't do. It records the request so the developers of this server can add it. It changes no data and contacts no one.";
12
12
  // Descriptions earlier releases gave the feedback tool, newest first. The
13
13
  // doctor inspects servers on any release, so it recognizes all of them.
14
14
  export const PAST_REQUEST_CAPABILITY_DESCRIPTIONS = [
15
+ "Call this before you tell the user that these tools can't do what they asked. It records the request so the developers of this server can add it. It changes no data and contacts no one. Then answer the user as usual.",
15
16
  "Records that the user asked for something these tools cannot do, so the developers of this server can add it. It changes no data and contacts no one. Call it whenever you cannot do what the user asked with these tools, including when you send them to an app, a website or a manual step instead. Then answer them as usual.",
16
17
  "Request a capability that is not provided by the currently available tools. Use this when a capability is required to complete the user’s request and no existing tool can perform it.",
17
18
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@armature-tech/mcp-analytics",
3
- "version": "0.6.43",
3
+ "version": "0.6.44",
4
4
  "type": "module",
5
5
  "description": "MCP analytics wrapper SDK that instruments MCP tool declarations with telemetry.",
6
6
  "license": "Apache-2.0",