cardspecter
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| compile_copybookA | Compile an 80-column punched-card or free-format COBOL DATA DIVISION Copybook into exact byte offsets, total record length, JSON Schema, TypeScript types, and SQL DDL. |
| decode_ebcdic_recordB | Deterministically decode a raw IBM CP037 EBCDIC / COMP-3 / COMP-4 hex payload against a COBOL Copybook, returning structured JSON, 88-level condition flags, REDEFINES overlays, byte-by-byte spans, and forensic anomalies. |
| encode_ebcdic_recordA | Encode a modern JSON object into an exact fixed-width IBM CP037 EBCDIC / COMP-3 / COMP-4 mainframe wire record. |
| inspect_hollerith_deckB | Punch ASCII/COBOL text into authentic 80-column × 12-row IBM 029 Hollerith card bitmasks or optically read 12-bit column arrays while auditing sequence numbers (cols 1-6), indicators (col 7), and lace-card tear hazards. |
| list_legacy_fixturesA | List built-in historical mainframe & punched-card scenarios (1974 Banking ACH, 1969 Lunar Telemetry, 1983 Medicaid OCCURS-3, Damaged Forensic Deck) or fetch one by fixtureId. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct artifact and direction: copybook compilation, EBCDIC encode, EBCDIC decode, Hollerith card punch/read, and fixture listing. The encode/decode pair is inverse rather than overlapping, and the copybook compiler is clearly a schema-generation step feeding the others. No two tools could plausibly be selected for the same task.
All five names follow a strict verb_noun snake_case pattern (compile_copybook, decode_ebcdic_record, encode_ebcdic_record, inspect_hollerith_deck, list_legacy_fixtures). The verbs are well-chosen and the nouns identify the resource unambiguously.
Five tools is a tight, well-scoped surface for a mainframe data-interchange domain, with each tool mapping to a distinct step (compile schema, encode, decode, inspect deck, load fixtures). Nothing feels padded or redundant.
The set covers a full round-trip: compile copybook to schema, encode JSON to wire format, decode wire format back to JSON, plus card-level inspection and sample fixtures. Minor gaps remain, such as validating a record against a copybook without full decode, batch/multi-record processing, or generating a copybook from an existing schema, but these are workaroundable.