Skip to main content
Glama

get_schools

Read-onlyIdempotent

Retrieve all schools registered in Schulportal Hessen with their ID, name, and city, so you can look up the school ID needed to configure Lanis credentials.

Instructions

Return all schools registered in Schulportal Hessen (Lanis).

Fetches the complete list of schools with their ID, name, and city. This tool does NOT require authentication and can be used to look up the school ID needed for configuring Lanis credentials.

Args: response_format: Output format - 'markdown' (default) or 'json'.

Returns: List of schools. JSON schema: { "count": int, "schools": [ { "id": str, "name": str, "city": str } ] }

Error Handling: - Returns "Error: ..." on API failure - Returns "No schools found." if the list is empty

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_schools"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNomarkdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and openWorld, so the safety profile is known. The description still adds genuinely useful behavior: no authentication required, an explicit error contract ('Returns "Error: ..." on API failure') and the empty-result sentinel ('No schools found.'). It says nothing about rate limits or caching, which keeps it off a 5.

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

Conciseness3/5

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

Front-loaded with the purpose and the no-auth note, which is good. However, the verbatim JSON return schema under 'Returns' duplicates the output schema the agent already receives, and the Args/Returns/Error Handling docstring scaffolding adds ceremony beyond what is needed.

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?

For a single optional parameter read tool, the definition covers purpose, authentication, return fields, and both error and empty-result paths — nothing an agent needs to call it correctly is missing. Minor residual gaps (no note on list size or provenance of the data) do not block correct invocation, and the output schema already formalizes the return shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the enum lives only in $defs, so the description must carry the parameter. It does: it names the sole parameter 'response_format', enumerates both accepted values, and marks 'markdown' as the default — exactly the meaning the schema alone leaves implicit.

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 ('Return all schools registered in Schulportal Hessen') with unambiguous scope ('the complete list'), and the return fields (ID, name, city) are named. No sibling tool in the catalog overlaps with this resource, so an agent can select it without ambiguity.

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 a concrete use case: 'can be used to look up the school ID needed for configuring Lanis credentials.' It also rules out a precondition ('does NOT require authentication'). It stops short of explicit when-not-to-use guidance or naming an alternative, which no sibling here would provide.

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