Skip to main content
Glama

Programmability Create Artifact Repository

programmability_create_artifact_repository

Creates a Snowflake artifact repository for package storage; specify repository type and an API integration when required for PyPI.

Instructions

Create an artifact repository. A PYPI repository needs api_integration. https://docs.snowflake.com/en/sql-reference/sql/create-artifact-repository

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": {
      "repository_name": "<repository_name>",
      "repository_type": "<repository_type>"
    },
    "name": "programmability_create_artifact_repository"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNoQuote names that aren't all uppercase, exactly as list tools return them.
schema_nameNoQuote names that aren't all uppercase, exactly as list tools return them.
if_not_existsNo
api_integrationNoQuote names that aren't all uppercase, exactly as list tools return them.
repository_nameYesQuote names that aren't all uppercase, exactly as list tools return them.
repository_typeYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, open-world create, so the safety profile is covered. The description adds one useful behavioral fact — PYPI requires api_integration — but says nothing about failure modes, what happens when the name already exists, or permission requirements. With annotations doing most of the work, this is a modest addition.

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?

Two short sentences plus a documentation link, front-loaded with the action and followed by the one non-obvious constraint. A bare URL with no indication of what it covers is slightly wasteful, but nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. However, for a create tool with an unenumerated repository_type and six parameters, the definition omits the valid type values and overwrite/exists behavior — both things an agent needs before calling it.

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 67%, so the baseline is 3. The description explains why api_integration matters (PYPI only), which genuinely supplements the schema, but repository_type has no description and no enum, so the agent is never told the valid repository types the tool accepts.

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 and resource: "Create an artifact repository." That is clearer than the title and distinguishable from the describe/drop/list siblings carrying the same artifact-repository noun. It stops short of naming when another create tool (e.g., create_api_integration) is the better choice, so it is clear but not differentiated.

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

Usage Guidelines3/5

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

"A PYPI repository needs api_integration" is a genuine conditional prerequisite rather than generic guidance. Beyond that there is no when-to-use versus when-not guidance, no mention of what happens if the repository already exists despite if_not_exists defaulting to true, and no routing to the describe/drop siblings.

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

Deploy Server

Other Tools