Skip to main content
Glama

Configure application access

configure_application_access
DestructiveIdempotent

Queue an access change for one managed application, setting private, public HTTP, managed HTTPS or external HTTPS per endpoint. Verify the queued change with installation and event tools.

Instructions

Queue an access change for one owned managed application. Read get_application_installation first and pass its current revision. If access.request.schema_version=2, preserve every exact endpoint key and configure each endpoint independently; use service and port metadata to match the user's intent instead of prioritizing array order or primary=true. Private removes that route's public listener. Public HTTP exposes it through the server public IP. Managed HTTPS requires an eligible VPSnet-managed DNS zone, subdomain, and explicit DNS approval; it may also carry additional_addresses (up to 4 per endpoint, 8 per application): other names in the customer's own VPSnet zones, each with its own DNS approval, where name '' or '@' is the zone's bare domain (for example example.com next to www.example.com) and action 'redirect' (default) answers 301 to the main address keeping path and query while 'serve' opens the same application; the main address is never changed by adding or removing an additional address; the list is the complete wanted set, so an access change that omits additional_addresses removes the saved ones (pass them again to keep them); additional_addresses are refused on every other mode. External HTTPS only records the customer-managed URL; VPSnet does not configure or validate its DNS, TLS, or reverse proxy. Confirm the exact change with the user first. A queued response must be verified with get_application_installation and get_application_events. Requires applications:manage and is not a paid API-key operation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "orderNo": "<orderNo>",
      "installation_id": "<installation_id>",
      "access": "<access>",
      "expected_revision": "<expected_revision>",
      "idempotencyKey": "<idempotencyKey>",
      "confirmed": "<confirmed>"
    },
    "name": "configure_application_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
accessYesOne access choice, or schema_version=2 with every exact endpoint key and its independent access choice
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
confirmedYesTrue only after the user confirmed this access change
idempotencyKeyYesClient-global unique key. Reuse it only to replay this exact access request; never reuse it for another service or request.
installation_idYesManaged application installation UUID
expected_revisionYesCurrent installation revision returned by get_application_installation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.3.21
    • changedInput schema / properties / access / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "mode": {
      -            "const": "platform_https",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "mode": {
      -            "const": "private",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "mode": {
      -            "const": "public_http",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "mode": {
      -            "const": "external_https",
      -            "type": "string"
      -          },
      -          "url": {
      -            "maxLength": 500,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "url"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "additional_addresses": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "action": {
      -                  "default": "redirect",
      -                  "enum": [
      -                    "redirect",
      -                    "serve"
      -                  ],
      -                  "type": "string"
      -                },
      -                "approve_dns": {
      -                  "const": true,
      -                  "type": "boolean"
      -                },
      -                "name": {
      -                  "maxLength": 190,
      -                  "pattern": "^(?:@|(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*)?)$",
      -                  "type": "string"
      -                },
      -                "zone_id": {
      -                  "minimum": 1,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "zone_id",
      -                "name",
      -                "approve_dns"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 4,
      -            "type": "array"
      -          },
      -          "approve_dns": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "mode": {
      -            "const": "managed_https",
      -            "type": "string"
      -          },
      -          "subdomain": {
      -            "maxLength": 190,
      -            "pattern": "^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$",
      -            "type": "string"
      -          },
      -          "zone_id": {
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "zone_id",
      -          "subdomain",
      -          "approve_dns"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "endpoints": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "access": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "mode": {
      -                      "const": "platform_https",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "mode"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "mode": {
      -                      "const": "private",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "mode"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "mode": {
      -                      "const": "public_http",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "mode"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "mode": {
      -                      "const": "external_https",
      -                      "type": "string"
      -                    },
      -                    "url": {
      -                      "maxLength": 500,
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "mode",
      -                    "url"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "additional_addresses": {
      -                      "items": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "action": {
      -                            "default": "redirect",
      -                            "enum": [
      -                              "redirect",
      -                              "serve"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          "approve_dns": {
      -                            "const": true,
      -                            "type": "boolean"
      -                          },
      -                          "name": {
      -                            "maxLength": 190,
      -                            "pattern": "^(?:@|(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*)?)$",
      -                            "type": "string"
      -                          },
      -                          "zone_id": {
      -                            "minimum": 1,
      -                            "type": "integer"
      -                          }
      -                        },
      -                        "required": [
      -                          "zone_id",
      -                          "name",
      -                          "approve_dns"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "maxItems": 4,
      -                      "type": "array"
      -                    },
      -                    "approve_dns": {
      -                      "const": true,
      -                      "type": "boolean"
      -                    },
      -                    "mode": {
      -                      "const": "managed_https",
      -                      "type": "string"
      -                    },
      -                    "subdomain": {
      -                      "maxLength": 190,
      -                      "pattern": "^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$",
      -                      "type": "string"
      -                    },
      -                    "zone_id": {
      -                      "exclusiveMinimum": 0,
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "required": [
      -                    "mode",
      -                    "zone_id",
      -                    "subdomain",
      -                    "approve_dns"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "key": {
      -              "maxLength": 96,
      -              "pattern": "^[a-z0-9][a-z0-9_-]{0,95}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "access"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 64,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "schema_version": {
      -        "const": 2,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "endpoints"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "oneOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "mode": {
      +            "const": "platform_https",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "mode": {
      +            "const": "private",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "mode": {
      +            "const": "public_http",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "mode": {
      +            "const": "external_https",
      +            "type": "string"
      +          },
      +          "url": {
      +            "maxLength": 500,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "additional_addresses": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "action": {
      +                  "default": "redirect",
      +                  "enum": [
      +                    "redirect",
      +                    "serve"
      +                  ],
      +                  "type": "string"
      +                },
      +                "approve_dns": {
      +                  "const": true,
      +                  "type": "boolean"
      +                },
      +                "name": {
      +                  "maxLength": 190,
      +                  "pattern": "^(?:@|(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*)?)$",
      +                  "type": "string"
      +                },
      +                "zone_id": {
      +                  "minimum": 1,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "zone_id",
      +                "name",
      +                "approve_dns"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 4,
      +            "type": "array"
      +          },
      +          "approve_dns": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "mode": {
      +            "const": "managed_https",
      +            "type": "string"
      +          },
      +          "subdomain": {
      +            "maxLength": 190,
      +            "pattern": "^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$",
      +            "type": "string"
      +          },
      +          "zone_id": {
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "zone_id",
      +          "subdomain",
      +          "approve_dns"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "endpoints": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "access": {
      +              "oneOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "mode": {
      +                      "const": "platform_https",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "mode"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "mode": {
      +                      "const": "private",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "mode"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "mode": {
      +                      "const": "public_http",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "mode"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "mode": {
      +                      "const": "external_https",
      +                      "type": "string"
      +                    },
      +                    "url": {
      +                      "maxLength": 500,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "mode",
      +                    "url"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "additional_addresses": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "action": {
      +                            "default": "redirect",
      +                            "enum": [
      +                              "redirect",
      +                              "serve"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          "approve_dns": {
      +                            "const": true,
      +                            "type": "boolean"
      +                          },
      +                          "name": {
      +                            "maxLength": 190,
      +                            "pattern": "^(?:@|(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*)?)$",
      +                            "type": "string"
      +                          },
      +                          "zone_id": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          }
      +                        },
      +                        "required": [
      +                          "zone_id",
      +                          "name",
      +                          "approve_dns"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 4,
      +                      "type": "array"
      +                    },
      +                    "approve_dns": {
      +                      "const": true,
      +                      "type": "boolean"
      +                    },
      +                    "mode": {
      +                      "const": "managed_https",
      +                      "type": "string"
      +                    },
      +                    "subdomain": {
      +                      "maxLength": 190,
      +                      "pattern": "^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$",
      +                      "type": "string"
      +                    },
      +                    "zone_id": {
      +                      "exclusiveMinimum": 0,
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "mode",
      +                    "zone_id",
      +                    "subdomain",
      +                    "approve_dns"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "key": {
      +              "maxLength": 96,
      +              "pattern": "^[a-z0-9][a-z0-9_-]{0,95}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "access"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 64,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "schema_version": {
      +        "const": 2,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "endpoints"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / installation_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. First observedv2.3.16

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds substantial behavior beyond the annotations: private mode removes the route's public listener, omitting additional_addresses removes previously saved ones, external HTTPS only records a URL without DNS/TLS validation, and the operation is queued and must be verified afterward. It also states the required applications:manage permission and that it is not a paid API-key operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded and information-dense, with purpose and prerequisites before mode details. It is long because the tool is complex, but some sentences are run-on and could be easier to scan with clearer separation between mode rules and additional_addresses rules.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, queued access-configuration tool with no output schema, the definition covers preconditions, confirmation, mode-specific constraints, permission requirements, and post-call verification. Nothing essential for correct invocation appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even though schema coverage is 100%, the description meaningfully explains the complex access parameter: schema_version=2 endpoint-key preservation, independent endpoint configuration, mode-specific semantics, additional_addresses redirect versus serve behavior, and that the list is the complete wanted set. This is far more than the schema alone conveys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The definition opens with a specific verb and resource: queuing an access change for one owned managed application. It clearly describes the access modes and scope, but it does not explicitly contrast this tool with nearby siblings such as configure_application_server_routes or set_vpn_server_access.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives strong workflow guidance: read get_application_installation first, pass the current revision, confirm the exact change with the user, and verify queued results with get_application_installation and get_application_events. It lacks explicit when-not-to-use guidance or named alternatives for other access-related configuration tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools