Skip to main content
Glama
antigravity-context-mcp

antigravity-context-mcp

get_credentials

Read saved credentials from a project's .credentials file to restore access for an AI coding agent across new or crashed sessions.

Instructions

Read saved credentials (.credentials file) from the project directory.

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>"
    },
    "name": "get_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathYesAbsolute path to the project directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv5.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full behavioral burden. It never states whether secrets are returned in plaintext, whether any permission or auth gating applies, what happens when the .credentials file is absent, or what the returned structure looks like — all material for a credentials-reading tool.

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?

One short sentence with the action front-loaded and zero filler. It is efficient, though its brevity is more a symptom of under-specification than of tight editing.

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?

For a simple single-parameter read, the definition covers which resource is read and from where. However, with no annotations, no output schema, and no description of the returned credential shape or missing-file behavior, an agent cannot predict the response.

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?

There is a single parameter at 100% schema description coverage ("Absolute path to the project directory"), so the schema already does the work. The description restates "project directory" but adds no format, validation, or edge-case meaning beyond the schema.

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?

Names a specific verb ("Read") and resource ("saved credentials") and adds the location ("project directory") plus the concrete artifact (the .credentials file). It implicitly contrasts with save_credentials, but does not explicitly differentiate from siblings like recall or context_import, so it stops just short of a 5.

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 when-to-use or when-not-to-use guidance and no mention of alternatives such as save_credentials or the recall family. The only contextual cue is "from the project directory," which implies a local-file read but leaves prerequisites and failure cases unaddressed.

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