Skip to main content
Glama
Infisical MCP Server

Infisical MCP Server

Official
by Infisical

list-projects

Read-onlyIdempotent

Lists accessible Infisical projects with IDs, names, slugs, types, and environments so you can retrieve the projectId and environment slugs other tools require.

Instructions

List the projects this server can access, with each project's ID, name, slug, type and environments. Call this first to find the projectId and environment slugs the other tools take.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list-projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOnly list projects of this type. Defaults to all, which lists every project.
searchNoOnly list projects whose name or slug contains this text, ignoring case

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.0
    • addedInput schema / properties / search
      Added value: +{
      +  "description": "Only list projects whose name or slug contains this text, ignoring case",
      +  "type": "string"
      +}
    • changedInput schema / properties / type / description
      Previous value: -"The type of projects to retrieve. If not specified, `all` projects will be retrieved."New value: +"Only list projects of this type. Defaults to all, which lists every project."
  2. Addedv0.0.24

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description still adds that results are scoped to what 'this server can access' and lists the returned fields. It omits pagination or result-size behavior, which keeps it below a 5.

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 sentences, both load-bearing: the first defines the resource and its return shape, the second gives the ordering instruction. The entry point guidance is front-loaded in imperative form with no filler.

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

Completeness5/5

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

For a two-optional-parameter, read-only listing tool with no output schema, the description covers purpose, returned fields, access scoping and sequencing relative to other tools. Nothing an agent needs to invoke it correctly is missing.

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%, with both the type enum and the case-insensitive search documented in the schema, so the schema carries the parameter burden. The description adds no syntax or default details beyond that, making the baseline 3 appropriate.

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?

States a specific verb and resource ('List the projects') and enumerates the returned fields (ID, name, slug, type, environments), which distinguishes it from siblings like list-folders and list-secrets that also list but return different resources.

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

Usage Guidelines4/5

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

Explicitly instructs 'Call this first to find the projectId and environment slugs the other tools take', giving a concrete ordering rationale tied to downstream tools. It stops short of naming an alternative or a when-not-to-use case, but there is no obvious substitute for this discovery step.

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