Skip to main content
Glama

Check permissions

check_permissions
Read-onlyIdempotent

Report whether Keeploop can read this Mac's mail, whether it may control Mail (account names, drafts), and whether it has Notifications (monitor alerts, approvals); for anything missing, what the user has to change. Call this when another tool says the mail index is unavailable, so you can tell the user exactly which permission is missing.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
fixNo
detailNo
mail_data_dirNo
notificationsNo
envelope_indexNo
automation_mailNo
full_disk_accessYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered. The description adds value beyond that by disclosing that it also reports remedial action ('what the user has to change') and that it inspects multiple distinct permission surfaces. No contradiction with annotations.

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

Conciseness5/5

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

Two sentences: the first front-loads what is reported, the second front-loads the invocation trigger. Every clause earns its place; the enumeration of permission categories is information-dense but not padded.

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 an output schema present, return values need not be re-explained, and a zero-param tool has no argument semantics to cover. The description fully covers what is checked, the trigger to call it, and the remediation framing, leaving nothing an agent needs missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline is 4. The description correctly frames the call as parameter-free, matching the empty input schema.

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 (Report) and resource (permissions) and enumerates exactly the three things checked: mail read access, Mail control (accounts/drafts), and Notifications (alerts/approvals). This level of detail distinguishes it from siblings like check_setup and explain_access without needing to open a schema.

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 an explicit trigger: 'Call this when another tool says the mail index is unavailable.' That is clear context for invocation. It stops short of naming when-not or alternatives (e.g. check_setup, explain_access), so it is strong but not fully routing.

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.