Skip to main content
Glama

check_app_availability

Read-onlyIdempotent

Check if a specific Lanis app is enabled at your school before using it. Pass the app name to confirm availability and avoid API errors.

Instructions

Check whether a specific Lanis app is available at the user's school.

Checks one of the four LanisAPI-supported apps to see if it is enabled at the authenticated user's school.

Args: app_name: The app to check. Must be one of: - "Kalender" - "Mein Unterricht" - "Nachrichten - Beta-Version" - "Vertretungsplan"

Returns: A plain-text message indicating whether the app is available.

Error Handling: - Returns "Error: ..." on API or auth failure - Returns "Error: Unknown app ..." for invalid app names

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": {
      "app_name": "<app_name>"
    },
    "name": "check_app_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/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 real context beyond that: the check is scoped to the authenticated user's school (auth prerequisite), the result is a plain-text message, and failures are returned as "Error: ..." strings rather than raised. It does not mention rate limits or whether auth failures are distinguishable from API failures.

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?

The Args/Returns/Error Handling structure is front-loaded and scannable, and the enumerated app list is genuinely load-bearing. The cost is mild redundancy: the opening sentence and the next sentence restate the same purpose, one of which could be dropped.

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?

For a single-parameter read-only lookup, the description covers purpose, the exact accepted values, the return shape, and error semantics, with an output schema present to handle return structure. An agent has everything needed to invoke it correctly; the only absent element, sibling routing, is a minor nicety here.

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% and the schema defines app_name as a bare string with no enum, so the description carries the full burden — and it does, enumerating all four accepted values verbatim. It also specifies the failure mode for an invalid name ("Error: Unknown app ..."). Minor gap: nothing is said about case sensitivity or whether values must match exactly.

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: checking whether one named Lanis app is enabled at the authenticated user's school. It also quantifies the domain (one of four supported apps), which separates it from a bulk-listing tool. It does not explicitly name a sibling such as get_apps or get_available_apps as the alternative, so the sibling differentiation is only implicit.

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?

Usage is implied: this checks a single app, so an agent can infer that enumerating all apps is a different tool's job, and that the caller must be authenticated against a school. There is no explicit when-to-use / when-not-to-use statement or named alternative, leaving routing to inference.

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