Skip to main content
Glama
alissonf216

parliamentary-nlp-mcp

by alissonf216

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HF_TOKENNoHugging Face token. Only required if the model checkpoint is private.
PARLIAMENTARY_NLP_MODEL_IDNoHugging Face model identifier. Overrides the default model checkpoint.alissonf216/parliamentary-bertimbau-auditor

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
audit_parliamentary_speechA

Audit Portuguese parliamentary or political speech for offensive content.

Use this tool whenever a user asks you to analyse, moderate, classify, or safety-check political / legislative discourse in Portuguese (PT-BR), including floor speeches, committee interventions, social-media posts by elected officials, and campaign rhetoric.

The underlying BERTimbau-based classifier estimates:

  • Predominant category (neutral vs. offense / hate-speech tiers)

  • Softmax confidence for the top class

  • Shannon-entropy uncertainty; high entropy (> 0.60) sets requires_human_review=True so borderline cases can be escalated

Args: text: Raw Portuguese utterance or transcript excerpt to audit.

Returns: Structured audit dictionary with classification, confidence, entropy_uncertainty, class_probabilities, and requires_human_review.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.9/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion. The tool's purpose is clearly defined and covers the entire domain of auditing parliamentary speech.

Naming Consistency5/5

The single tool name 'audit_parliamentary_speech' follows a clear verb_object pattern. Although there is only one example, the naming is consistent with common conventions.

Tool Count3/5

The server has just one tool, which is on the thin end of the range. For a domain like parliamentary speech analysis, one might expect additional tools (e.g., for summarizing or extracting topics), but for the stated auditing purpose, a single tool can be acceptable.

Completeness5/5

The tool provides a comprehensive audit result including classification, confidence, entropy, and a human-review flag, covering all stated use cases (analyse, moderate, classify, safety-check). There are no obvious dead ends within the tool's intended scope.

Maintenance

ActivityMaintained
ResponsivenessNo issues