Skip to main content
Glama
antigravity-context-mcp

antigravity-context-mcp

save_credentials

Stores project credentials in a local .credentials file and automatically adds it to .gitignore to keep secrets out of version control.

Instructions

Save credentials to .credentials file in the project directory. Auto-adds to .gitignore.

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": {
      "project_path": "<project_path>",
      "credentials": "<credentials>"
    },
    "name": "save_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
credentialsYesSections with key-value pairs. Example: {"Hosting": {"LOGIN": "user", "PASSWORD": "pass"}}
project_pathYesAbsolute path to the project directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv5.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose two useful traits: the on-disk location and the auto-gitignore side effect, which matters for a secrets tool. However it omits critical mutation semantics: whether an existing .credentials file is overwritten or merged, how secrets are stored (plaintext), and what happens if .gitignore is missing or already lists the file.

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 short sentences with zero filler, front-loading the action and destination before the secondary gitignore behavior. Every clause carries information.

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?

Destination file, project scoping and gitignore handling are covered, and no output schema exists so return values need no explanation. For a no-annotation tool that writes secrets to disk, though, the overwrite/merge behavior and security handling are material omissions an agent would want before invoking 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 description coverage is 100% and the schema already explains both parameters, including a nested-object example for credentials, so the baseline of 3 applies. The description adds no extra meaning such as path validation rules, whether project_path must already exist, or how section names are merged on repeat calls.

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 ('Save') and resource ('credentials') plus the exact destination (.credentials file in the project directory), which distinguishes it from the read-side get_credentials sibling without naming it. It stops short of explicitly naming the counterpart tool, so the contrast is implied rather than stated.

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?

Usage is only implied: an agent can infer this is the write counterpart to get_credentials and that it targets a project directory. There is no explicit when-to-use guidance, no mention of prerequisites (e.g., does the project need to exist first), and no stated alternative for storing non-secret context (save_context_file, save_note).

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