From f450f03106c602e328be51c23e39ff02b0b9277f Mon Sep 17 00:00:00 2001 From: "Roman I. Kolesnikov false" Date: Wed, 11 Mar 2026 11:51:58 +0100 Subject: [PATCH] Enforce APIC maxLength constraints in server-schema.json and fix violations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add missing maxLength constraints to server-schema.json to match Azure API Center limits that are enforced server-side. Without these schema-level constraints, servers with fields exceeding APIC limits pass local validation but fail during sync — and due to fail-fast batch processing, a single failure blocks all subsequent servers from being created. Schema changes (partners/server-schema.json): - externalDocumentation.title: add maxLength 50 - externalDocumentation.url: add maxLength 200, format uri - license.name: add maxLength 50 - license.url: add maxLength 200, format uri - repository.url: add maxLength 200, format uri - repository.source: add maxLength 100 Server data fixes: - grounding-with-bing-custom-search.json: shorten externalDocumentation.title from 52 to 37 chars (was exceeding 50-char APIC limit, causing cascading failure that blocked grounding-with-bing-search, sharepoint-grounding, web-search, and all later servers) - azure-mcp-server.json: trim useCases[0].description from 1001 to 988 chars (exceeding existing 1000-char maxLength constraint) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- partners/server-schema.json | 9 +++++++++ partners/servers/azure-mcp-server.json | 2 +- partners/servers/grounding-with-bing-custom-search.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/partners/server-schema.json b/partners/server-schema.json index ff99ed7..7ffbc1b 100644 --- a/partners/server-schema.json +++ b/partners/server-schema.json @@ -59,10 +59,13 @@ "properties": { "name": { "type": "string", + "maxLength": 50, "description": "Name of the license (e.g., 'MIT', 'Apache-2.0', 'GPL-3.0')." }, "url": { "type": "string", + "maxLength": 200, + "format": "uri", "description": "URL to the full license text." } } @@ -82,10 +85,13 @@ "properties": { "title": { "type": "string", + "maxLength": 50, "description": "Title or name of the documentation." }, "url": { "type": "string", + "maxLength": 200, + "format": "uri", "description": "URL to the external documentation." } } @@ -100,10 +106,13 @@ "properties": { "url": { "type": "string", + "maxLength": 200, + "format": "uri", "description": "URL to the source code repository." }, "source": { "type": "string", + "maxLength": 100, "description": "Path or reference to specific source files within the repository." } } diff --git a/partners/servers/azure-mcp-server.json b/partners/servers/azure-mcp-server.json index c8e8750..bc00679 100644 --- a/partners/servers/azure-mcp-server.json +++ b/partners/servers/azure-mcp-server.json @@ -124,7 +124,7 @@ "useCases": [ { "name": "Azure Services", - "description": "Interact with 40+ Azure service namespaces through natural language — spanning control plane, data plane, and best practices guidance: Microsoft Foundry (AI models, agents, deployments), Azure AI Search, Azure AI Services Speech, Azure App Configuration, Azure App Service, Azure CLI Generate, Azure Communication Services, Azure Compute, Azure Confidential Ledger, Azure Container Apps, Azure Container Registry, Azure Cosmos DB, Azure Data Explorer, Azure Database for MySQL, Azure Database for PostgreSQL, Azure Event Grid, Azure File Shares, Azure Functions, Azure Key Vault, Azure Kubernetes Service, Azure Load Testing, Azure Managed Grafana, Azure Marketplace, Azure Migrate, Azure Monitor, Azure Policy, Azure Quota, Azure RBAC, Azure Redis Cache, Azure Resource Groups, Azure Service Bus, Azure Service Health, Azure SQL Database, Azure Storage, Azure Subscription, Azure Virtual Desktop, Azure Workbooks, Bicep, and Terraform Best Practices — with more services being added continuously." + "description": "Interact with 40+ Azure service namespaces through natural language — spanning control plane, data plane, and best practices guidance: Microsoft Foundry (AI models, agents, deployments), Azure AI Search, Azure AI Services Speech, Azure App Configuration, Azure App Service, Azure CLI Generate, Azure Communication Services, Azure Compute, Azure Confidential Ledger, Azure Container Apps, Azure Container Registry, Azure Cosmos DB, Azure Data Explorer, Azure Database for MySQL, Azure Database for PostgreSQL, Azure Event Grid, Azure File Shares, Azure Functions, Azure Key Vault, Azure Kubernetes Service, Azure Load Testing, Azure Managed Grafana, Azure Marketplace, Azure Migrate, Azure Monitor, Azure Policy, Azure Quota, Azure RBAC, Azure Redis Cache, Azure Resource Groups, Azure Service Bus, Azure Service Health, Azure SQL Database, Azure Storage, Azure Subscription, Azure Virtual Desktop, Azure Workbooks, Bicep, and Terraform Best Practices — with more services being added." } ], "externalDocumentation": { diff --git a/partners/servers/grounding-with-bing-custom-search.json b/partners/servers/grounding-with-bing-custom-search.json index ddb0c8d..fd57c6d 100644 --- a/partners/servers/grounding-with-bing-custom-search.json +++ b/partners/servers/grounding-with-bing-custom-search.json @@ -11,7 +11,7 @@ }, "icon": "https://placeholder.example.com/icons/bing-custom-search.png", "externalDocumentation": { - "title": "Grounding with Bing Custom Search Tool Documentation", + "title": "Bing Custom Search Tool Documentation", "url": "https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/tools/bing-tools?view=foundry" }, "remote": "https://placeholder.mcp.microsoft.com/grounding-bing-custom-search",