Skip to main content
Glama
ComplianceCow

ComplianceCow MCP Server

fetch_resource_types

Retrieve resource types and counts from asset run IDs to analyze compliance inventory and track infrastructure resource distribution.

Instructions

Get resource types for given asset run id. Use 'fetch_assets_summary' tool to get assets run id Function accepts page number (page) and page size (pageSize) for pagination. If MCP client host unable to handle large response use page and pageSize. If the request times out retry with pagination, increasing pageSize from 50 to 100.

  1. Call fetch_resource_types with page=1, pageSize=50

  2. Note the totalPages from the response

  3. Continue calling each page until complete

  4. Summarize all results together

Args: - id(str): Asset run id

Returns: - resourceTypes (List[AssetsVo]): A list of resource types. - resourceType (str): Resource type. - totalResources (int): Total number of resources.
- error (Optional[str]): An error message if any issues occurred during retrieval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
pageNo
pageSizeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Discloses timeout risks, large payload handling, and pagination requirements compensating for missing annotations; no contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Verbose with mixed formatting (narrative, numbered list, pseudo-docstring Args/Returns); the 4-step workflow is helpful but overly prescriptive for agent context.

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?

Adequately covers the tool's complexity including pagination workflow and dependency on sibling tool; output schema exists so detailed Returns section is redundant but not harmful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Compensates for 0% schema description coverage by explicitly defining 'id' as Asset run id and explaining pagination parameters in context of timeout handling.

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 specific action (Get resource types) and target resource, and explicitly references sibling tool 'fetch_assets_summary' to distinguish prerequisite workflow.

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

Usage Guidelines5/5

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

Excellent explicit guidance: mandates using 'fetch_assets_summary' first, describes when to use pagination (large responses/timeouts), and provides specific retry strategy (50→100 pageSize).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ComplianceCow/cow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server