Skip to main content
Glama

Check model access for the connected account

check_model_access
Read-onlyIdempotent

Read-only preflight for an exact callable text model ID from list_models and optional project UUID. Checks plan, provider entitlement, effective policy and billing without inference or a paid probe. Requires account:read. Policy is marked requires_authorization when controls:read is missing. Missing billing/provider information stays unknown; no_known_blockers is a snapshot and never guarantees a successful runtime call. Without a project UUID, project policy and spend caps are not assessed. Dynamic routes and BYOK models are outside this public-catalog preflight.

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": {
      "model": "<model>"
    },
    "name": "check_model_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesExact callable model ID (chat, image, video or speech) returned by list_models.
project_uuidNoOptional project UUID within the authorized organization. Omit for organization-only checks.

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent annotations: names the required scope (account:read), the degraded mode when controls:read is missing (requires_authorization), unknown-vs-blocked semantics for missing billing/provider data, and the caveat that no_known_blockers is a snapshot that never guarantees a successful runtime call. The only thing left implicit is the shape of the response, which the output schema already covers.

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?

Front-loaded with the core action and scope, and every sentence carries a distinct constraint with no filler. It is dense, with several caveats packed into long sentences, which slightly hurts scanability but not correctness.

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 two-parameter read-only preflight with full schema coverage, annotations, and an output schema, nothing an agent needs before calling is missing: scope, permissions, degraded modes, and blind spots are all disclosed.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: model must be an exact callable ID returned by list_models (not a fuzzy name), and omitting project_uuid narrows the check to organization-level policy rather than project policy and spend caps.

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?

States a specific verb+resource: a read-only preflight check for an exact callable model ID, sourced from list_models, with an optional project UUID. It implicitly separates itself from call_model by noting it does 'without inference or a paid probe', so an agent can pick it over the execution siblings without opening a schema.

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?

Gives explicit when-to-use (preflight before an exact model call) and when-not-to-use (dynamic routes and BYOK models are outside this public-catalog preflight). It also states the conditional limitation: without a project UUID, project policy and spend caps are not assessed.

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