run-spanglish-primitives
Classifies the 6 Spanglish primitives — boundary phenomena that exist ONLY at the code-switch interface between Spanish and English. These are not Spanish primitives or English primitives. They are interference-pattern primitives that emerge when two linguistic systems collide. The 6 Spanglish Primitives: ∂_switch — The boundary itself. WHERE the language changes. The switch point carries information that neither language alone encodes. μ_frame — Frame-content split. WHICH language provides grammar (frame) vs vocabulary (content). "Está feeling dizzy" = Spanish frame, English content. The split IS the mapping. →_direction — Switch direction. WHY the speaker crossed. es→en for symptoms means English lacks the nuance. en→es means Spanish temporal precision was invoked. Direction encodes intent. κ_boost — Confidence differential. HOW MUCH stronger is dual-encoding vs single? The effort of switching amplifies the signal. +20 estar, +15 tener, +10 sentirse, 0 ser, 0 pure-English. ν_rate — Switch frequency. HOW OFTEN boundaries appear in the text. High = fully bilingual. Low = dominant language with borrowings. Rate determines transducer bandwidth. ∅_null — The null switch. WHERE a switch COULD have happened but DIDN'T. A bilingual speaker who says "is dizzy" when they could have said "está dizzy" made an unconscious classification: the symptom didn't warrant temporal precision. Absence = signal.
Taxonomy
Linnaean classification joined from the algovigilance taxonomy index via the parent config's rank.
| Rank | Value |
|---|---|
| domain | Substrata |
| kingdom | Constructa |
| phylum | Configa |
| class | station-config |
| order | microgram |
| family | mcp-tool-config |
Characteristics:
- substrate:
config - domain:
pv - lifecycle:
continuous - authority:
read - compounding:
producer - io:
agent-request→tool-response
Input schema
text_fragmentstringrequired — Input parameter: text_fragmentspeaker_bilingualbooleanrequired — Input parameter: speaker_bilingual
Example call
POST /api/mcp
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "station__microgram__run-spanglish-primitives",
"arguments": {
"text_fragment": "",
"speaker_bilingual": false
}
}
}How to invoke from a client
From any MCP-aware client, add https://algovigilance.com/api/mcp as an MCP server, then call this tool by name. From a raw HTTP client, send the JSON-RPC body above to /api/mcp.
Agent-friendly formats
Working inside an AI assistant? Use the Copy for AI button at the top of this page (or view the raw Markdown) to paste a clean, token-budgeted version of this tool's contract into your conversation.
Related
- All tools (3062 live)
- /api/mcp — endpoint
- /AGENTS.md — agent guide
- /tools/microgram__run-spanglish-primitives/raw.md — this page's Markdown twin