Skip to main content
Glama

ris_gemeinden

Search Austrian municipal laws and regulations to find local ordinances, cross-border legislation, and municipal regulations using filters like state, municipality, or subject area.

Instructions

Search Austrian municipal law (Gemeinderecht).

Use this tool to find municipal regulations and local ordinances.

Applications:

  • Gr: Municipal law (Gemeinderecht) - default

  • GrA: Cross-border municipal law (Gemeinderecht Authentisch/Amtsblätter)

Example queries:

  • gemeinde="Graz", suchworte="Parkgebuehren"

  • bundesland="Tirol", titel="Gebuehrenordnung"

  • applikation="Gr", index="Baurecht"

  • applikation="GrA", bezirk="Bregenz"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
suchworteNoFull-text search terms
titelNoSearch in titles
bundeslandNoFilter by state - Burgenland, Kärnten, Niederösterreich, Oberösterreich, Salzburg, Steiermark, Tirol, Vorarlberg, Wien
gemeindeNoMunicipality name (e.g., "Graz")
applikationNo"Gr" (municipal law, default) or "GrA" (cross-border/Amtsblätter)Gr
geschaeftszahlNoFile number/Aktenzeichen (Gr only)
indexNoSubject area index (Gr only) - VertretungskoerperUndAllgemeineVerwaltung, OeffentlicheOrdnungUndSicherheit, UnterrichtErziehungSportUndWissenschaft, KunstKulturUndKultus, SozialeWohlfahrtUndWohnbaufoerderung, Gesundheit, StraßenUndWasserbauVerkehr, Wirtschaftsfoerderung, Dienstleistungen, Finanzwirtschaft
fassung_vomNoHistorical version date (YYYY-MM-DD, Gr only)
bezirkNoDistrict name (GrA only, e.g., "Bregenz")
gemeindeverbandNoMunicipal association name (GrA only)
kundmachungsnummerNoAnnouncement number (GrA only)
kundmachungsdatum_vonNoAnnouncement date from (YYYY-MM-DD, GrA only)
kundmachungsdatum_bisNoAnnouncement date to (YYYY-MM-DD, GrA only)
im_ris_seitNoFilter by time in RIS - EinerWoche, ZweiWochen, EinemMonat, DreiMonaten, SechsMonaten, EinemJahr
sortierung_richtungNoSort direction
sortierung_spalte_grNoSort column (Gr only)
seiteNoPage number (default: 1)
limitNoResults per page 10/20/50/100 (default: 20)
response_formatNo"markdown" (default) or "json"markdown

Implementation Reference

  • The 'ris_gemeinden' tool is registered and implemented within the 'registerGemeindenTool' function. It validates inputs, constructs search parameters, and delegates the execution to 'executeSearchTool' with the 'searchGemeinden' client function.
    export function registerGemeindenTool(server: McpServer): void {
      server.tool(
        'ris_gemeinden',
        `Search Austrian municipal law (Gemeinderecht).
    
    Use this tool to find municipal regulations and local ordinances.
    
    Applications:
      - Gr: Municipal law (Gemeinderecht) - default
      - GrA: Cross-border municipal law (Gemeinderecht Authentisch/Amtsblätter)
    
    Example queries:
      - gemeinde="Graz", suchworte="Parkgebuehren"
      - bundesland="Tirol", titel="Gebuehrenordnung"
      - applikation="Gr", index="Baurecht"
      - applikation="GrA", bezirk="Bregenz"`,
        {
          suchworte: z.string().max(1000).optional().describe('Full-text search terms'),
          titel: z.string().max(500).optional().describe('Search in titles'),
          bundesland: z
            .string()
            .max(200)
            .optional()
            .describe(
              'Filter by state - Burgenland, Kärnten, Niederösterreich, Oberösterreich, Salzburg, Steiermark, Tirol, Vorarlberg, Wien',
            ),
          gemeinde: z.string().max(200).optional().describe('Municipality name (e.g., "Graz")'),
          applikation: z
            .enum(['Gr', 'GrA'])
            .default('Gr')
            .describe('"Gr" (municipal law, default) or "GrA" (cross-border/Amtsblätter)'),
          // Parameters for Gr application
          geschaeftszahl: z.string().max(200).optional().describe('File number/Aktenzeichen (Gr only)'),
          index: z
            .enum(GEMEINDEN_INDEX_VALUES)
            .optional()
            .describe(
              'Subject area index (Gr only) - VertretungskoerperUndAllgemeineVerwaltung, OeffentlicheOrdnungUndSicherheit, UnterrichtErziehungSportUndWissenschaft, KunstKulturUndKultus, SozialeWohlfahrtUndWohnbaufoerderung, Gesundheit, StraßenUndWasserbauVerkehr, Wirtschaftsfoerderung, Dienstleistungen, Finanzwirtschaft',
            ),
          fassung_vom: DateSchema.optional().describe('Historical version date (YYYY-MM-DD, Gr only)'),
          // Parameters for GrA application
          bezirk: z.string().max(200).optional().describe('District name (GrA only, e.g., "Bregenz")'),
          gemeindeverband: z
            .string()
            .max(200)
            .optional()
            .describe('Municipal association name (GrA only)'),
          kundmachungsnummer: z.string().max(100).optional().describe('Announcement number (GrA only)'),
          kundmachungsdatum_von: DateSchema.optional().describe(
            'Announcement date from (YYYY-MM-DD, GrA only)',
          ),
          kundmachungsdatum_bis: DateSchema.optional().describe(
            'Announcement date to (YYYY-MM-DD, GrA only)',
          ),
          // Common parameters
          im_ris_seit: z
            .enum(IM_RIS_SEIT_VALUES)
            .optional()
            .describe(
              'Filter by time in RIS - EinerWoche, ZweiWochen, EinemMonat, DreiMonaten, SechsMonaten, EinemJahr',
            ),
          sortierung_richtung: z
            .enum(['Ascending', 'Descending'])
            .optional()
            .describe('Sort direction'),
          sortierung_spalte_gr: z
            .enum(['Geschaeftszahl', 'Bundesland', 'Gemeinde'])
            .optional()
            .describe('Sort column (Gr only)'),
          seite: z.number().default(1).describe('Page number (default: 1)'),
          limit: z.number().default(20).describe('Results per page 10/20/50/100 (default: 20)'),
          response_format: z
            .enum(['markdown', 'json'])
            .default('markdown')
            .describe('"markdown" (default) or "json"'),
        },
        async (args) => {
          const {
            suchworte,
            titel,
            bundesland,
            gemeinde,
            applikation,
            geschaeftszahl,
            index,
            fassung_vom,
            bezirk,
            gemeindeverband,
            kundmachungsnummer,
            kundmachungsdatum_von,
            kundmachungsdatum_bis,
            im_ris_seit,
            sortierung_richtung,
            sortierung_spalte_gr,
            seite,
            limit,
            response_format,
          } = args;
    
          if (
            !hasAnyParam(args, [
              'suchworte',
              'titel',
              'bundesland',
              'gemeinde',
              'geschaeftszahl',
              'index',
              'bezirk',
              'kundmachungsnummer',
            ])
          ) {
            return createValidationErrorResponse([
              'suchworte` fuer Volltextsuche',
              'titel` fuer Suche in Titeln',
              'bundesland` fuer Bundesland',
              'gemeinde` fuer Gemeinde',
              'geschaeftszahl` fuer Aktenzeichen (Gr)',
              'index` fuer Sachgebiet (Gr)',
              'bezirk` fuer Bezirk (GrA)',
              'kundmachungsnummer` fuer Kundmachungsnummer (GrA)',
            ]);
          }
    
          const params = buildBaseParams(applikation, limit, seite);
          addOptionalParams(params, [
            [suchworte, 'Suchworte'],
            [titel, 'Titel'],
            [gemeinde, 'Gemeinde'],
            [bundesland, 'Bundesland'],
            [im_ris_seit, 'ImRisSeit'],
            [sortierung_richtung, 'Sortierung.SortDirection'],
          ]);
    
          // Gr-specific parameters
          if (applikation === 'Gr') {
            addOptionalParams(params, [
              [geschaeftszahl, 'Geschaeftszahl'],
              [index, 'Index'],
              [fassung_vom, 'FassungVom'],
              [sortierung_spalte_gr, 'Sortierung.SortedByColumn'],
            ]);
          }
    
          // GrA-specific parameters
          if (applikation === 'GrA') {
            addOptionalParams(params, [
              [bezirk, 'Bezirk'],
              [gemeindeverband, 'Gemeindeverband'],
              [kundmachungsnummer, 'Kundmachungsnummer'],
              [kundmachungsdatum_von, 'Kundmachungsdatum.Von'],
              [kundmachungsdatum_bis, 'Kundmachungsdatum.Bis'],
            ]);
          }
    
          return executeSearchTool(searchGemeinden, params, response_format);
        },
      );
    }
  • Input parameters and validation for the 'ris_gemeinden' tool defined using Zod schemas.
    {
      suchworte: z.string().max(1000).optional().describe('Full-text search terms'),
      titel: z.string().max(500).optional().describe('Search in titles'),
      bundesland: z
        .string()
        .max(200)
        .optional()
        .describe(
          'Filter by state - Burgenland, Kärnten, Niederösterreich, Oberösterreich, Salzburg, Steiermark, Tirol, Vorarlberg, Wien',
        ),
      gemeinde: z.string().max(200).optional().describe('Municipality name (e.g., "Graz")'),
      applikation: z
        .enum(['Gr', 'GrA'])
        .default('Gr')
        .describe('"Gr" (municipal law, default) or "GrA" (cross-border/Amtsblätter)'),
      // Parameters for Gr application
      geschaeftszahl: z.string().max(200).optional().describe('File number/Aktenzeichen (Gr only)'),
      index: z
        .enum(GEMEINDEN_INDEX_VALUES)
        .optional()
        .describe(
          'Subject area index (Gr only) - VertretungskoerperUndAllgemeineVerwaltung, OeffentlicheOrdnungUndSicherheit, UnterrichtErziehungSportUndWissenschaft, KunstKulturUndKultus, SozialeWohlfahrtUndWohnbaufoerderung, Gesundheit, StraßenUndWasserbauVerkehr, Wirtschaftsfoerderung, Dienstleistungen, Finanzwirtschaft',
        ),
      fassung_vom: DateSchema.optional().describe('Historical version date (YYYY-MM-DD, Gr only)'),
      // Parameters for GrA application
      bezirk: z.string().max(200).optional().describe('District name (GrA only, e.g., "Bregenz")'),
      gemeindeverband: z
        .string()
        .max(200)
        .optional()
        .describe('Municipal association name (GrA only)'),
      kundmachungsnummer: z.string().max(100).optional().describe('Announcement number (GrA only)'),
      kundmachungsdatum_von: DateSchema.optional().describe(
        'Announcement date from (YYYY-MM-DD, GrA only)',
      ),
      kundmachungsdatum_bis: DateSchema.optional().describe(
        'Announcement date to (YYYY-MM-DD, GrA only)',
      ),
      // Common parameters
      im_ris_seit: z
        .enum(IM_RIS_SEIT_VALUES)
        .optional()
        .describe(
          'Filter by time in RIS - EinerWoche, ZweiWochen, EinemMonat, DreiMonaten, SechsMonaten, EinemJahr',
        ),
      sortierung_richtung: z
        .enum(['Ascending', 'Descending'])
        .optional()
        .describe('Sort direction'),
      sortierung_spalte_gr: z
        .enum(['Geschaeftszahl', 'Bundesland', 'Gemeinde'])
        .optional()
        .describe('Sort column (Gr only)'),
      seite: z.number().default(1).describe('Page number (default: 1)'),
      limit: z.number().default(20).describe('Results per page 10/20/50/100 (default: 20)'),
      response_format: z
        .enum(['markdown', 'json'])
        .default('markdown')
        .describe('"markdown" (default) or "json"'),
    },
  • The 'ris_gemeinden' tool is registered with the MCP server using the 'server.tool' method.
    export function registerGemeindenTool(server: McpServer): void {
      server.tool(
        'ris_gemeinden',
        `Search Austrian municipal law (Gemeinderecht).
    
    Use this tool to find municipal regulations and local ordinances.
    
    Applications:
      - Gr: Municipal law (Gemeinderecht) - default
      - GrA: Cross-border municipal law (Gemeinderecht Authentisch/Amtsblätter)
    
    Example queries:
      - gemeinde="Graz", suchworte="Parkgebuehren"
      - bundesland="Tirol", titel="Gebuehrenordnung"
      - applikation="Gr", index="Baurecht"
      - applikation="GrA", bezirk="Bregenz"`,
        {
          suchworte: z.string().max(1000).optional().describe('Full-text search terms'),
          titel: z.string().max(500).optional().describe('Search in titles'),
          bundesland: z
            .string()
            .max(200)
            .optional()
            .describe(
              'Filter by state - Burgenland, Kärnten, Niederösterreich, Oberösterreich, Salzburg, Steiermark, Tirol, Vorarlberg, Wien',
            ),
          gemeinde: z.string().max(200).optional().describe('Municipality name (e.g., "Graz")'),
          applikation: z
            .enum(['Gr', 'GrA'])
            .default('Gr')
            .describe('"Gr" (municipal law, default) or "GrA" (cross-border/Amtsblätter)'),
          // Parameters for Gr application
          geschaeftszahl: z.string().max(200).optional().describe('File number/Aktenzeichen (Gr only)'),
          index: z
            .enum(GEMEINDEN_INDEX_VALUES)
            .optional()
            .describe(
              'Subject area index (Gr only) - VertretungskoerperUndAllgemeineVerwaltung, OeffentlicheOrdnungUndSicherheit, UnterrichtErziehungSportUndWissenschaft, KunstKulturUndKultus, SozialeWohlfahrtUndWohnbaufoerderung, Gesundheit, StraßenUndWasserbauVerkehr, Wirtschaftsfoerderung, Dienstleistungen, Finanzwirtschaft',
            ),
          fassung_vom: DateSchema.optional().describe('Historical version date (YYYY-MM-DD, Gr only)'),
          // Parameters for GrA application
          bezirk: z.string().max(200).optional().describe('District name (GrA only, e.g., "Bregenz")'),
          gemeindeverband: z
            .string()
            .max(200)
            .optional()
            .describe('Municipal association name (GrA only)'),
          kundmachungsnummer: z.string().max(100).optional().describe('Announcement number (GrA only)'),
          kundmachungsdatum_von: DateSchema.optional().describe(
            'Announcement date from (YYYY-MM-DD, GrA only)',
          ),
          kundmachungsdatum_bis: DateSchema.optional().describe(
            'Announcement date to (YYYY-MM-DD, GrA only)',
          ),
          // Common parameters
          im_ris_seit: z
            .enum(IM_RIS_SEIT_VALUES)
            .optional()
            .describe(
              'Filter by time in RIS - EinerWoche, ZweiWochen, EinemMonat, DreiMonaten, SechsMonaten, EinemJahr',
            ),
          sortierung_richtung: z
            .enum(['Ascending', 'Descending'])
            .optional()
            .describe('Sort direction'),
          sortierung_spalte_gr: z
            .enum(['Geschaeftszahl', 'Bundesland', 'Gemeinde'])
            .optional()
            .describe('Sort column (Gr only)'),
          seite: z.number().default(1).describe('Page number (default: 1)'),
          limit: z.number().default(20).describe('Results per page 10/20/50/100 (default: 20)'),
          response_format: z
            .enum(['markdown', 'json'])
            .default('markdown')
            .describe('"markdown" (default) or "json"'),
        },
        async (args) => {
          const {
            suchworte,
            titel,
            bundesland,
            gemeinde,
            applikation,
            geschaeftszahl,
            index,
            fassung_vom,
            bezirk,
            gemeindeverband,
            kundmachungsnummer,
            kundmachungsdatum_von,
            kundmachungsdatum_bis,
            im_ris_seit,
            sortierung_richtung,
            sortierung_spalte_gr,
            seite,
            limit,
            response_format,
          } = args;
    
          if (
            !hasAnyParam(args, [
              'suchworte',
              'titel',
              'bundesland',
              'gemeinde',
              'geschaeftszahl',
              'index',
              'bezirk',
              'kundmachungsnummer',
            ])
          ) {
            return createValidationErrorResponse([
              'suchworte` fuer Volltextsuche',
              'titel` fuer Suche in Titeln',
              'bundesland` fuer Bundesland',
              'gemeinde` fuer Gemeinde',
              'geschaeftszahl` fuer Aktenzeichen (Gr)',
              'index` fuer Sachgebiet (Gr)',
              'bezirk` fuer Bezirk (GrA)',
              'kundmachungsnummer` fuer Kundmachungsnummer (GrA)',
            ]);
          }
    
          const params = buildBaseParams(applikation, limit, seite);
          addOptionalParams(params, [
            [suchworte, 'Suchworte'],
            [titel, 'Titel'],
            [gemeinde, 'Gemeinde'],
            [bundesland, 'Bundesland'],
            [im_ris_seit, 'ImRisSeit'],
            [sortierung_richtung, 'Sortierung.SortDirection'],
          ]);
    
          // Gr-specific parameters
          if (applikation === 'Gr') {
            addOptionalParams(params, [
              [geschaeftszahl, 'Geschaeftszahl'],
              [index, 'Index'],
              [fassung_vom, 'FassungVom'],
              [sortierung_spalte_gr, 'Sortierung.SortedByColumn'],
            ]);
          }
    
          // GrA-specific parameters
          if (applikation === 'GrA') {
            addOptionalParams(params, [
              [bezirk, 'Bezirk'],
              [gemeindeverband, 'Gemeindeverband'],
              [kundmachungsnummer, 'Kundmachungsnummer'],
              [kundmachungsdatum_von, 'Kundmachungsdatum.Von'],
              [kundmachungsdatum_bis, 'Kundmachungsdatum.Bis'],
            ]);
          }
    
          return executeSearchTool(searchGemeinden, params, response_format);
        },
      );
    }
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the search functionality and provides example queries, but doesn't mention important behavioral aspects like pagination behavior (implied by page/limit parameters), rate limits, authentication requirements, or what happens with empty results. The examples help but don't fully compensate for missing behavioral context.

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?

The description is well-structured and front-loaded with the core purpose, followed by usage guidance, applications, and concrete examples. Every sentence earns its place - the first line states the purpose, the second provides usage context, the applications section clarifies scope, and the examples demonstrate practical use. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 19 parameters and no output schema, the description provides good basic context but has significant gaps. It explains what the tool searches and provides examples, but doesn't describe the return format, result structure, error conditions, or pagination behavior. The examples help, but without annotations or output schema, the agent lacks complete understanding of what to expect from this search operation.

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?

With 100% schema description coverage, the baseline is 3. The description adds value by explaining the two application types (Gr and GrA) and providing concrete example queries that demonstrate how parameters work together. The examples show practical parameter combinations like 'gemeinde="Graz", suchworte="Parkgebuehren"' which helps understand parameter semantics beyond the schema descriptions.

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 description clearly states the tool's purpose as 'Search Austrian municipal law (Gemeinderecht)' with specific examples of what can be searched. It distinguishes this tool from siblings like ris_bundesrecht (federal law) and ris_landesrecht (state law) by focusing specifically on municipal regulations and local ordinances.

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?

The description provides clear context about when to use this tool ('Use this tool to find municipal regulations and local ordinances') and distinguishes between the two applications (Gr and GrA). However, it doesn't explicitly state when NOT to use this tool versus alternatives like ris_bezirke or provide specific exclusion criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Honeyfield-Org/ris-mcp-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server