Skip to main content
Glama

Add Provider Key

nanites_addProviderKey

Add an API key for a cloud provider to enable task delegation to external models.

Instructions

Add an API key for a cloud provider (Cloudflare, OpenRouter, OmniRoute, Generic).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYes
providerYes
account_idNo
gateway_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only implies that the tool mutates state by adding a key. It does not disclose overwrite behavior, validation checks, authentication needs, side effects on existing keys, or failure modes, leaving the agent without critical safety information.

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?

The description is a single, tight sentence with no wasted words. It front-loads the core action and provider list, making it easy to parse. For the amount of content it contains, it is impeccably concise.

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

Completeness1/5

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

Given the tool has no annotations, no output schema, and four under-documented parameters, this description is severely incomplete. It does not mention prerequisite conditions, return value, error behavior, or the meaning of optional fields, so an agent cannot reliably predict the tool's behavior or handle edge cases.

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

Parameters1/5

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

Schema description coverage is 0%, so the description must compensate, but it fails to explain any parameters. It merely repeats the provider enum values already in the schema. The purposes of api_key, account_id, and gateway_url are entirely unexplained, especially the optional parameters, leaving the agent to guess their meaning and correct usage.

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 clearly states the verb (Add), the resource (API key for a cloud provider), and enumerates the supported providers. This distinguishes it from siblings like nanites_removeProviderKey and nanites_listProviderKeys, leaving no ambiguity about the tool's function.

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?

No explicit guidance is given on when to use this tool versus the many related provider-key tools. The verb 'Add' implies usage for creating a new key, but there is no mention of prerequisites, such as needing to add a key before using a provider, or when to prefer remove, list, or toggle alternatives.

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