Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NEC_API_KEYNoLegacy NEC API key (fallback). Used if NEC_API_KEY_DECODED and NEC_API_KEY_ENCODED are not set.
NEC_API_KEY_DECODEDNoDecoded NEC service key. The server prefers this and can derive the encoded variant automatically.
NEC_API_KEY_ENCODEDNoEncoded NEC service key. Not required if decoded key is provided.

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": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_electionsD
list_districtsD
list_partiesD
search_candidatesD
get_candidate_profileD
get_candidate_policiesD
get_district_resultsD
get_district_summaryD
get_party_vote_share_historyD
get_election_overviewD
assemble_candidate_packetD
diagnose_core_api_accessD
diagnose_full_api_accessD
get_krpoltext_textD
get_krpoltext_metaD
match_krpoltext_candidateD

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
elections_resource

TDQS

D1.6/5.0

Scored across 16 tools

Disambiguation2/5

Several tools have overlapping names (e.g., get_district_results and get_district_summary; get_candidate_profile and get_candidate_policies). Diagnostic tools (diagnose_core_api_access, diagnose_full_api_access) are unrelated to elections, increasing confusion. Without descriptions, distinguishing purposes is challenging.

Naming Consistency4/5

All tool names follow a verb_noun pattern in snake_case, using verbs like list, get, search, assemble, diagnose, match. The pattern is mostly consistent, though the variety of verbs (e.g., assemble, diagnose) slightly deviates from the more common list/get/search conventions.

Tool Count4/5

16 tools is a reasonable count for an elections-related server. It covers multiple entities (elections, districts, parties, candidates) and includes some specialized tools. The count is slightly high but not excessive.

Completeness2/5

The tool set appears to support read and search operations only (no create, update, delete). The inclusion of diagnostic and 'krpoltext' tools suggests extraneous functionality unrelated to an elections data API. Gaps like updating candidate information or managing election results are likely to cause agent failures.

Maintenance

ActivitySlowing
ResponsivenessNo issues