Skip to main content
Glama

List OCI resources

oci_list
Read-onlyIdempotent

List Oracle Cloud Infrastructure resources by type, covering compute, storage, networking, databases, OKE, and identity; omit compartment to scan a tenancy.

Instructions

List resources of one type, compactly.

Covers compute, block storage, networking, OKE, database, object storage and identity. Results are projected to the identifying fields; pass verbose=True for the full objects.

Omitting compartment scans the whole tenancy and tags each row with the compartment it came from.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum rows to return.
verboseNoReturn every field instead of the compact projection.
compartmentNoCompartment name or OCID. Omit to scan every compartment in the tenancy.
resource_typeYes
lifecycle_stateNoFilter by state, e.g. RUNNING, AVAILABLE, ACTIVE, TERMINATED.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and open-world, so safety is covered. The description adds genuinely non-annotated behavior: results are projected to identifying fields by default, and a tenancy-wide scan when compartment is omitted tags each row with its origin. Return-shape detail is left to the output schema.

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?

Three short, front-loaded paragraphs with no filler; the primary purpose leads and secondary behaviors follow. Efficient and readable, though slightly more verbose than a single tight paragraph would need to be.

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, return values need no explanation, and the description covers scope, projection behavior and the omitted-compartment case. It leaves the list-vs-search boundary unstated, which is the main remaining gap for a tool with three siblings.

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 high (80%), so the schema already documents limit, verbose, compartment and resource_type. The description largely restates the verbose and compartment semantics that the schema already provides, adding 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 (List) and resource (OCI resources of a single type), and enumerates the service families covered. It does not explicitly differentiate itself from siblings like oci_search or oci_get, so the agent must infer the boundary, but the core purpose is unmistakable.

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?

The description gives conditional guidance for two parameters (pass verbose=True for full objects; omit `compartment` to scan the whole tenancy), which is useful in-context usage. However, it never states when to reach for oci_list versus oci_search or oci_get, leaving the sibling routing to inference.

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

Deploy Server

Other Tools