Skip to content

Commit d1725a7

Browse files
committed
docs: improve tool descriptions for accuracy and clarity
- Add phased_release_id hint to update_phased_release description - Add territory schedules note to app_events_update - Clarify beta_testers_search: exact email match only - Add locale format guidance to apps_create_localization - Clarify territory param as ISO 3166-1 alpha-2 in reviews_list - Add expired builds hint (90+ days) to encryption error message
1 parent cca5027 commit d1725a7

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

Sources/asc-mcp/Workers/AppEventsWorker/AppEventsWorker+ToolDefinitions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ extension AppEventsWorker {
9494
func updateAppEventTool() -> Tool {
9595
return Tool(
9696
name: "app_events_update",
97-
description: "Update an existing in-app event",
97+
description: "Update an existing in-app event. Territory schedules are NOT modified by this tool.",
9898
inputSchema: .object([
9999
"type": .string("object"),
100100
"properties": .object([

Sources/asc-mcp/Workers/AppLifecycleWorker/AppLifecycleWorker+ToolDefinitions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ extension AppLifecycleWorker {
236236
func updatePhasedReleaseTool() -> Tool {
237237
Tool(
238238
name: "app_versions_update_phased_release",
239-
description: "Update phased release state (pause/resume/complete)",
239+
description: "Update phased release state (pause/resume/complete). Get phased_release_id from app_versions_create_phased_release response.",
240240
inputSchema: .object([
241241
"type": .string("object"),
242242
"properties": .object([

Sources/asc-mcp/Workers/AppsWorker/AppsWorker+ToolDefinitions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ extension AppsWorker {
188188
func createLocalizationTool() -> Tool {
189189
return Tool(
190190
name: "apps_create_localization",
191-
description: "Создает новую локализацию для версии приложения",
191+
description: "Создает новую локализацию для версии приложения. Locale format depends on language: ru, ja (language only) vs en-US, de-DE (with region). Use apps_list_localizations to see existing locales.",
192192
inputSchema: .object([
193193
"type": .string("object"),
194194
"properties": .object([

Sources/asc-mcp/Workers/BetaTestersWorker/BetaTestersWorker+ToolDefinitions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extension BetaTestersWorker {
3131
func searchBetaTestersTool() -> Tool {
3232
return Tool(
3333
name: "beta_testers_search",
34-
description: "Search beta tester by email address",
34+
description: "Search beta tester by email address. Exact email match only. Partial/wildcard not supported.",
3535
inputSchema: .object([
3636
"type": .string("object"),
3737
"properties": .object([

Sources/asc-mcp/Workers/BuildProcessingWorker/BuildProcessingWorker+Handlers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ extension BuildProcessingWorker {
9494
let dataObj = declarationJson["data"] as? [String: Any],
9595
let declarationId = dataObj["id"] as? String else {
9696
return CallTool.Result(
97-
content: [.text("Error: Could not parse encryption declaration response for build \(buildId). The build may not have an encryption declaration.")],
97+
content: [.text("Error: Could not parse encryption declaration response for build \(buildId). The build may not have an encryption declaration. Note: builds older than 90 days may have expired and no longer support this operation.")],
9898
isError: true
9999
)
100100
}

Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+ToolDefinitions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extension ReviewsWorker {
3131
]),
3232
"territory": .object([
3333
"type": .string("string"),
34-
"description": .string("Filter by territory code (e.g., US, RU, DE)")
34+
"description": .string("ISO 3166-1 alpha-2 territory code (US, RU, DE, JP)")
3535
]),
3636
"sort": .object([
3737
"type": .string("string"),

0 commit comments

Comments
 (0)