Skip to main content
Glama

policy_get_types

Read-onlyIdempotent

Retrieves a paginated list of policy types available in the current organization, supporting paging, sorting, and optional schema expansion for policy discovery.

Instructions

Returns a paginated list of policy types. Find all the policy types available in the current org. GET /policy/api/policyTypes

Input Schema

NameRequiredDescriptionDefault
topNoNumber of records you want
pageNoZero-based page index (0..N)
sizeNoThe size of the page to be returned
skipNoNumber of records you want to skip
sortNoSorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
orderbyNoSorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
expandSchemaNoRetrieves the schema for this policy type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds the pagination behavior and the current-org scoping constraint, but says nothing about the shape of returned items, total counts, or whether expandSchema changes 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.

Conciseness4/5

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

Three short lines with the purpose front-loaded and no redundant prose. The trailing 'GET /policy/api/policyTypes' line is low value for an agent choosing a tool, but the overall size is appropriate.

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

Completeness3/5

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

With 100% schema coverage and full annotations the basics are covered, but there is no output schema and the description never indicates what a policy type contains or how expandSchema affects the response — an agent still has to guess at the return shape.

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% across all 7 parameters, so pagination, sorting and expandSchema semantics are already documented in the schema. The description only restates 'paginated' and adds no format or default-order detail beyond it, so the baseline of 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 and resource ('Returns a paginated list of policy types') plus scope ('available in the current org'), which clearly separates it from the sibling policy_get_policy_type_by_id. The distinction is implied by 'list' vs 'by id' rather than stated explicitly.

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?

'Find all the policy types available in the current org' implies the discovery/enumeration use case, but there is no explicit guidance on when to use this versus policy_get_policy_type_by_id or policy_get_policy_type_scope_schema, and no exclusions or prerequisites.

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