Skip to main content
Glama

provider_save

Create or update an OpenAI-compatible provider profile and test its model catalog. API keys are encrypted locally and never returned.

Instructions

Create/update a provider profile and test its model catalog. API keys are encrypted locally and never returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
nameYes
apiKeyNo
adapterNo
baseUrlYes
authTypeNo
headerNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=false, so the description carries most of the burden. It adds real behavioral value: API keys are encrypted locally and never returned, and the call also exercises the model catalog (an outbound side effect). It still omits whether the catalog test can fail the save, and permission/auth requirements.

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?

Two compact sentences, front-loaded with the primary action and followed immediately by the security-relevant caveat. No filler or repetition of the tool name.

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?

No output schema exists, yet the description does not say what a successful save returns (provider id, catalog test results), and with 0% schema coverage the parameter-level behavior is thin. The encryption disclosure is a meaningful addition, but the definition is only narrowly sufficient for a 7-parameter mutation tool.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, so the description must compensate and largely does not. Only 'apiKey' is indirectly referenced via the encryption sentence; the meaning of id (create vs update switch), adapter, authType, headerName, and baseUrl is left entirely to the enum/type names.

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 pair and resource ('Create/update a provider profile') plus a secondary action ('test its model catalog'), so the upsert semantics are clear. It does not distinguish itself from close siblings like provider_refresh or provider_probe, which also touch provider model catalogs.

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

Usage Guidelines2/5

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

There is no statement of when to choose this over provider_refresh, provider_probe, or provider_model_override, and no prerequisites or exclusions are given. The only implied guidance is the 'create/update' phrasing, which the reader must infer means upsert behavior.

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