Skip to main content
Glama

Argocd Get Project

argocd_get_project
Read-onlyIdempotent

Inspect an Argo CD project's allowed repositories, destinations, resource whitelists/blacklists, and roles to verify access controls. Role token values are hidden; only token counts appear.

Instructions

Get a project: allowed repos, destinations, resource whitelists/blacklists, and roles.

Role token values (jwtTokens) are never returned; only a token count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoReturn the raw API payload instead of the slim one
nameYesProject name
include_rolesNoInclude role definitions (never jwtTokens)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description adds real behavioral context beyond that: role token values (jwtTokens) are never returned, only a count, which tells the agent not to expect secrets in the payload.

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, front-loaded with the core purpose and followed immediately by the one non-obvious caveat. No filler.

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

Completeness4/5

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

With an output schema present and annotations covering the read-only/idempotent profile, the description does not need to explain return values. It is nearly complete, though it omits failure behavior (e.g. unknown project name) for an open-world lookup.

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 coverage is 100%, so name, full and include_roles are already documented. The jwtTokens sentence duplicates the schema's own 'never jwtTokens' note on include_roles and adds no syntax or format detail beyond it, so the baseline 3 applies.

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 ('Get') and resource ('a project') and enumerates the returned facets (allowed repos, destinations, whitelists/blacklists, roles), so an agent can tell it apart from argocd_list_projects and argocd_get_application. It does not explicitly name a sibling, so it falls 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 Guidelines3/5

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

Usage is implied: fetch one project's configuration by name. There is no explicit when-to-use vs argocd_list_projects, no note that a project name is required, and no stated alternatives or exclusions.

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