Skip to main content
Glama

validate_provider_files

Read-only

For a provider (seller) joining the catalog: check a models.yaml before putting it online - the same check as the wizard and POST /v1/provider/validate. Give the file's text in models (YAML, or the same structure as JSON text); domain (the provider's site) makes the model_page checks exact. Returns ok, the problems (file, line, model, path, value, code, message, hint - fix each and call again), the catalog's preview of the models and next_action. No account needed for this check. Publishing needs a signed-in person: the provider_* tools (provider_start -> provider_verify_domain -> provider_check_files -> provider_publish) are on the account server /mcp/account (OAuth sign-in, scope provider), not on this public server; or the wizard at /join, or POST /v1/provider/applications. Templates: /static/templates/models.min.yaml (required fields only) and models.yaml (every field with hints).

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": {
      "models": "<models>"
    },
    "name": "validate_provider_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNothe provider's name
domainNothe provider's domain, e.g. example.ai
modelsYesthe models.yaml text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond readOnlyHint=true by disclosing that no account is required, the full return payload (ok, per-problem file/line/model/path/value/code/message/hint, catalog preview, next_action), and the failure protocol ('fix each and call again'). It omits anything about size limits, rate limits, or how strictly models are rejected, so not a maximal score.

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?

Purpose is front-loaded in the first clause and the paragraph follows a sensible order: what it does, inputs, returns, access model, alternatives, templates. Dense but nearly every clause carries routing or behavioral information; it is a long single block rather than scannable lines.

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?

No output schema exists, and the description compensates by enumerating the returned fields and error diagnostics plus next_action. For a stateless validator with three well-specified parameters, nothing an agent needs to invoke and interpret the call is missing.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all three parameters; the baseline is 3. The description does add real meaning for two of them ('models' accepts YAML text or the JSON-equivalent structure; 'domain' makes model_page checks exact), but 'name' is never mentioned in the description at all.

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

Purpose5/5

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

Opens with a concrete verb+resource ('check a models.yaml before putting it online') and anchors it to equivalents the agent may already know ('the same check as the wizard and POST /v1/provider/validate'). None of the listed siblings perform validation, and the description makes clear this is the pre-publishing file check rather than any catalog query.

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

Usage Guidelines5/5

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

States the trigger condition (a provider joining the catalog, before going live), states an explicit alternative for the publishing path (provider_start -> provider_verify_domain -> provider_check_files -> provider_publish on /mcp/account, or /join, or POST /v1/provider/applications), and even flags that no account is needed here. An agent knows exactly when to call this and when to route elsewhere.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources