list_subnets
List subnets in a specified compartment, with optional filtering by VCN.
Instructions
List subnets, optionally filtered by VCN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes | ||
| vcn_id | No | ||
| limit | No | ||
| page | No |
List subnets in a specified compartment, with optional filtering by VCN.
List subnets, optionally filtered by VCN.
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes | ||
| vcn_id | No | ||
| limit | No | ||
| page | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Lacks disclosure of behavioral traits such as pagination (parameters limit/page exist but not described), error handling, or permission requirements. No annotations are provided to supplement.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely concise (one sentence), but lacks structure or additional information; borderline under-specified.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 4 parameters, no output schema, and no annotations, the description fails to cover important usage details (e.g., required compartment_id behavior, pagination). Incomplete for effective tool invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds meaning only for vcn_id ('optionally filtered by VCN'), but the required compartment_id and pagination parameters (limit, page) are not explained. With 0% schema coverage, more description was needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'List subnets, optionally filtered by VCN' which indicates the action and a key filter, distinguishing it from sibling tools like list_vcns.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use or alternatives; only mentions optional VCN filtering, but does not specify prerequisites or context for usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sarthak-pansare/oci-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server