Skip to main content
Glama

Set Shopify API Credentials

sdk_credentials_set
DestructiveIdempotent

Saves the app's Shopify client ID and client secret, like the Shopify API credentials card under App settings > Meridian SDK in the dashboard. Takes the app_id from apps_list, and shopify_client_id, shopify_client_secret or both: the one you leave out keeps its value. Both come from the app's page in the Shopify Dev Dashboard; ask the developer for them, never guess one.

The pair belongs to the app, not to one environment: every environment's next deploy gets it as SHOPIFY_API_KEY and SHOPIFY_API_SECRET, production included, and Plan Builder billing uses it. So the tool REQUIRES confirm: true in the same call; without it the tool refuses and changes nothing. Only pass confirm: true once the developer you act for has agreed.

THE SECRET IS NEVER RETURNED. The answer gives the saved shopify_client_id, has_shopify_client_secret, and changed, the credentials that really changed. A credential can be replaced here but not cleared. Running environments keep the pair they were deployed with until their next deploy (environments_list reports config_pending_deploy for them); app_readiness_get says whether the app is now ready to deploy.

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": {
      "app_id": "<app_id>",
      "confirm": "<confirm>"
    },
    "name": "sdk_credentials_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe app this call works on: its `app_id` uuid from `apps_list`.
confirmYesMust be exactly `true`. The credentials reach every environment, production included, at its next deploy.
organization_idNoAn organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app.
shopify_client_idNoThe Shopify app's client ID (also called API key), from the Shopify Dev Dashboard.
shopify_client_secretNoThe Shopify app's client secret. Stored encrypted, never returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Far beyond the annotations, it discloses blast radius (every environment's next deploy, production included), that running environments keep their old pair until redeploy with environments_list flagging config_pending_deploy, that the tool refuses without confirm: true and changes nothing, that the secret is never returned, and that a credential can be replaced but not cleared. It also describes the response fields in the absence of an output schema.

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?

It is long for a tool description but front-loads the action, then the data source, then the consequences and guardrail, in a logical order. A few clauses are redundant (the 'ask the developer, never guess' point is restated as 'Only pass confirm: true once the developer... has agreed'), costing a little tightness.

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 destructive, confirm-gated write with no output schema, it covers everything an agent needs: input provenance, required confirmation protocol, propagation scope, irreversibility limits, and the shape of the response. Nothing material is left to inference.

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 the baseline is 3, but the description adds real meaning: partial-update semantics ('the one you leave out keeps its value'), the provenance and no-guessing rule for the credential values, and the rationale for the mandatory confirm flag. It does not explain organization_id's slug-resolution behavior, which is left to the schema.

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?

The description opens with a specific verb and resource ('Saves the app's Shopify client ID and client secret') and anchors it to a concrete dashboard location (App settings > Meridian SDK). It also clarifies the scope that matters most: the pair belongs to the app, not to a single environment, which separates it from per-environment secret tools.

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?

It states where the inputs come from (app_id from apps_list, credentials from the Shopify Dev Dashboard) and an explicit precondition ('Only pass confirm: true once the developer you act for has agreed'). It gives no explicit when-not or named alternative among siblings such as secrets_set, so the routing is clear but not exhaustive.

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