Skip to main content
Glama

Get security grade

get_security_grade
Read-onlyIdempotent

Security grade of the fleet (or of one policy with policyId): a letter A to F and a score out of 100, computed by Nomid from 14 checks (devices failing Google's integrity check, at risk, not encrypted, Android 10 or older; policies allowing unknown sources, developer options, no or weak screen lock, factory reset open, no update schedule, Play Protect optional, USB file transfer, safe boot on kiosks, long screen timeout). Returns the findings most serious first with the points each costs and the devices it touches, a grade per policy, the checks kiosk policies skip, and on each policy finding a fix: the exact propose_policy_change arguments and the fleet score after it. Use it for "how secure is my fleet/policy", security audits and "what should I fix first". Repeat grade and scores exactly as returned; never compute your own. A fix is a proposal a person approves.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_security_grade"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
policyIdNoA policy's pathName (from list_policies) for that policy's grade alone. Omit for the whole fleet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely useful behavior: findings ordered most-serious-first with point costs and affected devices, per-policy grades, skipped kiosk checks, and embeds propose_policy_change arguments in the output. The added caveat "repeat grade and scores exactly as returned; never compute your own" is a real behavioral constraint that goes beyond the annotations. It stops short of disclosing cost, latency, or anything about how stale the computed grade can be.

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 grade and scoring rule, then the fix/approval caveat and the instruction not to recompute — the important parts come first. The mid-sentence parenthetical enumerating all 14 checks is dense and could be trimmed without losing call-correctness, which keeps it off a 5.

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?

With no output schema, the description carries the full burden of explaining return values and does so concretely: ordering, point costs, per-policy grades, skipped checks, and per-finding fix arguments. For a read-only two-parameter analytics tool that is complete enough to call and interpret correctly.

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%, so both parameters (company, policyId) are already fully documented, including that policyId is a pathName from list_policies and that omitting it scopes to the whole fleet. The description restates that scoping but adds no syntax or edge-case meaning beyond the schema, so the 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 the specific resource (fleet security grade, or one policy's grade when policyId is given) and the concrete return: a letter A–F plus a score out of 100 derived from 14 named checks. Nothing else in the sibling list does this, so an agent can route to it unambiguously.

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

Usage Guidelines4/5

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

Gives explicit use cases — "how secure is my fleet/policy", security audits, and "what should I fix first" — which is stronger than most definitions. It also implicitly routes the fix path to propose_policy_change by noting a fix is a proposal a person approves, but it never states when to prefer a different tool (e.g. get_policy_settings or get_fleet_summary) instead.

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