Skip to main content
Glama

Check access key

check_access
Read-onlyIdempotent

Verify an access key and report what it unlocks. Returns valid:true/false; when valid, the tier, when it was created, the premium slugs it unlocks, and whether it grants the gated /api/corpus.full.jsonl + get_full_corpus deliverable (corpus, corpus-annual and enterprise tiers only). Never returns the key, email, or Stripe session. Use this to confirm a freshly-purchased key works before relying on it.

Input Schema

NameRequiredDescriptionDefault
api_keyYesAccess key to verify (cg_...)

Output Schema

NameRequiredDescriptionDefault
tierNo
validYes
corpus_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / api_key / maxLength
      Added value: +256
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "corpus_version": {
      +      "type": "string"
      +    },
      +    "tier": {
      +      "type": "string"
      +    },
      +    "valid": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "valid",
      +    "corpus_version"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new context: it never echoes the key, email, or Stripe session, and it encodes the tier-gating rule that only corpus/corpus-annual/enterprise unlock the full-corpus deliverable. It stops short of describing error or invalid-key behavior, which matters for a verification tool.

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

Conciseness5/5

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

Three sentences, front-loaded with the verb and the return contract, with no filler. The return-field enumeration is compact and every sentence earns its place.

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?

With an output schema present, return shape needs only a summary, which the description provides, along with privacy guarantees, the tier-gating rule, and a usage trigger. Nothing essential for correct invocation is missing for a one-parameter read tool.

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?

Single parameter with 100% schema description coverage, so the schema already carries the semantics including the 'cg_...' format. The description only implies the input is the key under test, which is adequate but adds nothing beyond the schema.

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?

States a specific verb+resource ('Verify an access key') and immediately says what it reports ('what it unlocks'). An agent can distinguish it from read-style siblings like get_access_info, though no sibling is named explicitly to sharpen the boundary.

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?

Gives a concrete when-to-use: 'confirm a freshly-purchased key works before relying on it.' It does not address when to prefer get_access_info or get_payment_info instead, so routing guidance is incomplete but the primary trigger is clear.

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