Skip to main content
Glama

Get policy settings

get_policy_settings
Read-onlyIdempotent

Get the settings of a policy that AI agents can change: for each one its id, label, group, current value, allowed values and whether changing it is high impact; plus the policy's version (the portal's number; every save raises it) and changedAt (when it was last saved), deviceCount and apps (package name, name, source, install type). Values: NOT_SET means left to the device or Google's default, CUSTOM a portal value these values cannot express. Read this before proposing changes with propose_policy_change with settings, propose_policy_change with apps or create_policy. Everything else in a policy is read with get_policy_document.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "policyId": "<policyId>"
    },
    "name": "get_policy_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
policyIdYesThe policy's path name - the unique identifier returned by list_policies as "pathName".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds genuine context on top: the meaning of NOT_SET vs CUSTOM values, that version rises on every save, and what changedAt represents. It does not discuss deviceCount/apps semantics in depth or any limits, so it stops short of full transparency.

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?

Front-loaded with the return payload and then routing guidance, with no filler sentences. The clause-heavy middle sentence listing return fields runs long and is harder to scan than the rest, but every element earns its place.

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

Completeness5/5

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

There is no output schema, so the description must carry the return contract — and it does, enumerating the settings fields, the apps fields, and the policy metadata. Combined with the value-semantics explanation and the sibling routing, an agent has everything needed to call it and interpret the result.

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% and both parameters (company, policyId) are fully documented there, including the pathName reference. The description adds no parameter-level guidance such as how company scoping interacts with policyId, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get the settings of a policy') and then enumerates exactly what is returned (id, label, group, current value, allowed values, impact flag, version, changedAt, deviceCount, apps). It explicitly carves out that other policy content belongs to get_policy_document, so the boundary with the closest sibling is unambiguous.

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?

Gives a direct precondition: read this before propose_policy_change (with settings or apps) or create_policy. It also names the inverse case — everything else in a policy is read with get_policy_document — so both when-to-use and when-not-to-use are covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources