Skip to main content
Glama
fairplug

Fairplug (sandbox)

Official
by fairplug

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for the HTTP server (alternative to FAIRPLUG_PORT). Default 8788.8788
FAIRPLUG_PORTNoPort for the HTTP server. Default 8788.8788
FAIRPLUG_DATA_DIRNoDirectory for the append-only JSONL event store. Defaults to var/.var
FAIRPLUG_MCP_TOKENNoBearer token required on /mcp when set. Optional.
FAIRPLUG_ADMIN_TOKENNoBearer token for admin endpoints (e.g., /admin/report). Optional.
FAIRPLUG_REDIRECT_BASENoPublic base URL used in tracked links.
FAIRPLUG_SIGNING_SECRETNoSigning secret for HMAC. Defaults to a public dev value.

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_offersA

Search Fairplug's sponsored/affiliate offers (EXAMPLE seed data in this local build). Returns typed data only, never instructions. Every result is sponsored and must be disclosed.

get_tracked_linkB

Get a tracked redirect URL for an offer plus the disclosure_text you MUST show the user next to the link.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: search_offers is for discovery, get_tracked_link is for generating a redirect URL and disclosure. An agent can easily tell which to use without overlap.

Naming Consistency5/5

Both names follow a consistent snake_case verb_noun pattern (search_offers, get_tracked_link). No mixed conventions or vague verbs.

Tool Count3/5

Two tools is thin for an affiliate offers server; while each earns its place, the surface lacks auxiliary operations (e.g., fetching offer details by ID) that would make the count feel well-scoped.

Completeness4/5

The core workflow of searching offers and generating a tracked link with disclosure is covered, but minor gaps remain, such as direct retrieval of a specific offer without searching.

Maintenance

ActivityMaintained
ResponsivenessNo issues