Skip to main content
Glama

Block App

safelagoon_block_app
Idempotent

Block one app on a SafeLagoon child's device. Identify it by package name (most reliable) or by the name shown on the device.

If the name matches more than one app, this returns the candidates and changes nothing, so you can ask which was meant.

This is a permanent block until it is removed. To restrict an app only during certain hours, create a blocking window with safelagoon_create_schedule instead.

The parent portal renders this result as a card. Do not repeat the card data as a table or list; one short insight is enough.

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": {
      "profile_id": "<profile_id>",
      "app": "<app>"
    },
    "name": "safelagoon_block_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
profile_idYes

Output Schema

NameRequiredDescriptionDefault
appNo
blockedNo
packageNo
enforcementNo
profile_nameNo
already_blockedNo

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?

Beyond the annotations (idempotentHint=true, destructiveHint=false, readOnlyHint=false), the description discloses the critical durability trait ('permanent block until it is removed') and an unusual partial-failure mode where an ambiguous name changes nothing and returns candidates. It does not mention permission or authorization requirements, which is the main remaining behavioral gap.

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?

Sentences are front-loaded, each adding a distinct fact (target, identifier options, ambiguity behavior, permanence, alternative tool). The closing sentence about the parent portal card is a presentation instruction rather than tool semantics and is the one element that dilutes focus, though it is short.

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?

An output schema exists, so return values need not be described, and the description covers the hard cases (ambiguity, permanence, alternative tool). The only real shortfall is that `profile_id` is never clarified, which matters for a two-required-parameter mutation.

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?

Schema coverage is 0%, so the description must carry parameter meaning and it largely does: it explains that `app` accepts either a package name (stated as 'most reliable') or the device-visible name, which is not derivable from a bare string type. `profile_id` is only implicitly characterized as the child's profile, so one parameter remains under-explained.

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?

The first sentence names a specific verb and resource with scope: 'Block one app on a SafeLagoon child's device.' It further specifies two accepted identifiers (package name or on-device name), so an agent can distinguish this from unblock_app and from schedule-based restriction without opening any schema.

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?

It explicitly routes a competing need to a named sibling: 'To restrict an app only during certain hours, create a blocking window with safelagoon_create_schedule instead.' It also pre-describes a disambiguation workflow (ask which candidate was meant) for the ambiguous-name case, leaving little inference.

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.