← home · ← tools · View as Markdown (.md) · JSON

run-spanglish-code-switch-detector

station__microgram__run-spanglish-code-switch-detector external (needs EXECUTION_BACKEND_URL) microgram pv-core Constructa Configa

Detecta cambios de código español↔inglés en texto clínico y extrae señales de causalidad de los puntos de cambio. El cambio de código en sí ES la señal: switching to Spanish for symptoms often means English can't capture the nuance. "Está feeling dizzy" preserves estar's temporal signal with English vocabulary. "Es diabetic" preserves ser's identity signal through the switch. Detects code-switch patterns and classifies the PV-relevant signal they carry.

Taxonomy

Linnaean classification joined from the algovigilance taxonomy index via the parent config's rank.

RankValue
domainSubstrata
kingdomConstructa
phylumConfiga
classstation-config
ordermicrogram
familymcp-tool-config

Characteristics:

Input schema

Example call

POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-spanglish-code-switch-detector",
    "arguments": {
      "text_fragment": "",
      "switch_direction": ""
    }
  }
}

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