Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GIS_API_PORTNoPort for the HTTP API server (`gis-assistant-api`).8100
GIS_API_TOKENNoBearer token for HTTP API authentication. If unset, a random token is generated at startup and printed to stdout.
GIS_WORKSPACENoOutput directory. All output paths are resolved and confined to this workspace.~/gis-workspace
OPENAI_API_KEYNoOpenAI API key, read by the OpenAI SDK. Required when `GIS_PLANNER_PROVIDER=openai`; needs the `openai` extra installed. Not required for execution-only tools (`gis.run_plan`, `gis.resume`, `gis.list_capabilities`, `gis.explain_last_run`, `gis.qgis_status`).
ANTHROPIC_API_KEYNoAnthropic API key, read by the Anthropic SDK. Required when using the Claude (default) provider for plan generation (`gis.plan`, `gis.answer`, `gis.run`, `gis.diagnose`).
GIS_PLANNER_MODELNoOverrides the provider default model (`claude-opus-5` or `gpt-4o`). Must match the selected provider; a mismatch is logged as a warning.
GIS_PLANNER_PROVIDERNoThe LLM provider used to generate plans. `anthropic` (aliases: `claude`) or `openai` (aliases: `chatgpt`, `gpt`). Claude is the default.anthropic

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
gis.planA

Generate a GIS workflow plan from a natural-language prompt.

Returns a JSON plan with inputs, outputs, assumptions, and ordered steps.
Does NOT execute anything.

If the plan has status "needs_clarification", use gis.answer() to provide
answers and get an updated plan.
gis.answerA

Resolve clarification questions from a previous gis.plan call.

Takes a JSON string of {question_id: answer_value} and re-plans with
the answers merged into the original context. Returns an updated plan.
gis.runA

Plan AND execute a GIS workflow from a natural-language prompt.

Steps: gather QGIS context -> generate plan -> validate -> execute.

If the plan needs clarification, returns the questions (no execution).
If a confirm step is reached, returns a blocked report with a
resume_token -- use gis.resume() to continue.
gis.run_planB

Execute a specific plan JSON (e.g. from gis.plan, possibly edited).

Use this for the plan -> review -> edit -> execute workflow.
gis.resumeA

Resume a blocked execution after a confirm step.

Args:
    resume_token: The token from the blocked RunReport.
    approved: True to proceed past the confirmation, False to abort.
gis.diagnoseA

Diagnose a GIS/QGIS error and suggest fixes.

Provide the error message or traceback. Returns an explanation with likely cause, affected step, and proposed fixes.

gis.explain_last_runA

Show details of the last plan and/or execution run.

Returns the plan (inputs, outputs, assumptions, steps) and execution results if gis.run was used.

gis.list_capabilitiesB

List supported operations, algorithm categories, and workspace policy.

Args:
    verbose: If False (default), show categories with top examples.
             If True, list all supported algorithm IDs.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 8 tools

Disambiguation4/5

The core tools are mostly distinct: gis.plan only plans, gis.run plans and executes, and gis.run_plan executes a supplied plan. gis.answer and gis.resume target separate clarification and confirmation states, though the boundary between gis.run and gis.run_plan could still cause occasional misselection.

Naming Consistency5/5

All tools use the gis. namespace with lower snake_case and action-oriented names such as run_plan, list_capabilities, and explain_last_run. The pattern is predictable throughout.

Tool Count5/5

Eight tools is well-scoped for a GIS workflow assistant covering planning, execution, clarification, resumption, diagnosis, and inspection. Each tool appears to earn its place without filler.

Completeness4/5

The set covers the main workflow lifecycle: plan, clarify, execute, resume, diagnose, and inspect the last run, plus list capabilities. Minor gaps remain, such as no documented clarification path for gis.run and no run history beyond explain_last_run, but agents can work around these.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues