Skip to main content
Glama

Validate a custom model endpoint

validate_custom_model
Read-only

Validate the HTTPS URL and adapter configuration for an external custom model. For OpenAI-compatible mode provide baseUrl; for custom REST use endpoint. Set probe=true only when an actual minimal request to the external provider is intended. Returns validation or probe status; credentials are transient and never stored or echoed. Requires active trial or Pro; does not perform a user prompt Send.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoOptional external model identifier for a test probe.
probeNoTrue sends a minimal external request to test the model; false only checks URL safety.
apiKeyNoOptional transient API credential, never stored or echoed.
baseUrlNoPublic HTTPS base URL for openai-compatible mode.
authModeNoCustom REST authentication method: bearer, API-key header, or none.bearer
endpointNoFull public HTTPS URL for custom-rest mode.
adapterModeYesAdapter: openai-compatible or custom-rest.
promptFieldNoJSON request field for test prompt content on custom REST endpoints.prompt
systemFieldNoJSON request field for system instructions on custom REST endpoints.system
apiKeyHeaderNoHeader name when using api-key-header authentication.x-api-key
responseTextPathNoJSON response field or path holding the generated text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / adapterMode / description
      Added value: +"Adapter: openai-compatible or custom-rest."
    • addedInput schema / properties / apiKey / description
      Added value: +"Optional transient API credential, never stored or echoed."
    • addedInput schema / properties / apiKeyHeader / description
      Added value: +"Header name when using api-key-header authentication."
    • addedInput schema / properties / authMode / description
      Added value: +"Custom REST authentication method: bearer, API-key header, or none."
    • addedInput schema / properties / baseUrl / description
      Added value: +"Public HTTPS base URL for openai-compatible mode."
    • addedInput schema / properties / endpoint / description
      Added value: +"Full public HTTPS URL for custom-rest mode."
    • addedInput schema / properties / model / description
      Added value: +"Optional external model identifier for a test probe."
    • addedInput schema / properties / probe / description
      Added value: +"True sends a minimal external request to test the model; false only checks URL safety."
    • addedInput schema / properties / promptField / description
      Added value: +"JSON request field for test prompt content on custom REST endpoints."
    • addedInput schema / properties / responseTextPath / description
      Added value: +"JSON response field or path holding the generated text."
    • addedInput schema / properties / systemField / description
      Added value: +"JSON request field for system instructions on custom REST endpoints."
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.