Skip to main content
Glama

create_sandbox_key

Get a temporary sandbox credential for this demo store, valid 24h. Present it as an Authorization: Bearer header, or — when your client cannot set headers — as the agent_key argument of the checkout tools. Payments here are simulated: this credential settles nothing and works only on the demo store. No human login is involved at any point.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": true,
      -  "properties": {
      -    "api_key": {
      -      "type": "string"
      -    },
      -    "declared_cap_template": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "aud": {
      -          "type": "string"
      -        },
      -        "currency": {
      -          "type": "string"
      -        },
      -        "exp": {
      -          "type": "string"
      -        },
      -        "mandate_id": {
      -          "type": "string"
      -        },
      -        "max_amount_cents": {
      -          "type": "string"
      -        },
      -        "note": {
      -          "type": "string"
      -        },
      -        "sub": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "mandate_id",
      -        "max_amount_cents",
      -        "currency",
      -        "exp",
      -        "sub",
      -        "aud",
      -        "note"
      -      ],
      -      "type": "object"
      -    },
      -    "error": {
      -      "type": "string"
      -    },
      -    "expires_at": {
      -      "type": "string"
      -    },
      -    "mandate_subject": {
      -      "type": "string"
      -    },
      -    "presented_as": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "retryable": {
      -      "type": "boolean"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • addedOutput schema / properties / declared_cap_template
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "aud": {
      +      "type": "string"
      +    },
      +    "currency": {
      +      "type": "string"
      +    },
      +    "exp": {
      +      "type": "string"
      +    },
      +    "mandate_id": {
      +      "type": "string"
      +    },
      +    "max_amount_cents": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "sub": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "mandate_id",
      +    "max_amount_cents",
      +    "currency",
      +    "exp",
      +    "sub",
      +    "aud",
      +    "note"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / mandate_subject
      Added value: +{
      +  "type": "string"
      +}
  4. Added

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses a 24h expiry, that payments are simulated and the credential 'settles nothing', that it works only on the demo store, and that no human login is involved. It does not state whether repeated calls mint a new key or invalidate an old one, nor any rate limit, which keeps it out of the top band.

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 tightly packed sentences: the credential and its lifetime are front-loaded, the presentation mechanism follows, and the simulated-payment caveat closes. Every sentence carries non-redundant information.

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 zero-parameter credential-minting tool with no annotations and no output schema, the description supplies everything an agent needs: what it returns conceptually, how to transmit it, its lifetime, and the critical trust caveat that it is demo-only and non-settling. Nothing material is missing.

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?

The tool takes zero parameters, so per the rubric the baseline is 4. The description adds relevant naming context by identifying the `agent_key` argument used downstream, though there are no input parameters whose semantics need explaining.

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 (get) and resource (temporary sandbox credential / API key) with the scope made explicit ('for this demo store, valid 24h'). An agent can immediately tell this apart from the checkout and trust siblings, none of which mint credentials.

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?

Explains how to present the credential (Authorization: Bearer header) and gives the fallback path when a client cannot set headers (agent_key argument of checkout tools), which effectively tells the agent where the credential is consumed. It stops short of an explicit 'call this before invoking checkout tools' instruction or naming an alternative, but the usage context 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