GIF MCP server — AI tool interface and persona enforcement layer. Provides persona-based permissions and audit trail for AI tool interfaces with governance, session management, and tamper-evident audit records.
GIF enforcement server has well-structured tool definitions with clear descriptions and comprehensive input schemas. All 7 tools have descriptions (avg 180 chars, within 10-1024 baseline) and typed parameters. However, output schemas are not documented, LLMs cannot predict response structure. Error handling guidance is minimal. Parameter descriptions are solid but lack format constraints (e.g., RFC 3339 timestamp format stated in text but not in schema). No tool annotations (readOnlyHint, destructiveHint) despite clear risk levels. Naming is verb-forward (session_start, persona_create) but generic verbs like 'db_read'/'db_write' lack specificity about governance scope.
Read from a governed database table (audit_events, personas, sessions, or delegation_chain). Requires a valid gif_session_id and appropriate read scope. Returns rows matching the query constraints. Audit event type: db_read.
Write to a governed database table (currently personas or sessions). Requires a valid gif_session_id and write scope. Supports INSERT, UPDATE, DELETE operations. Audit event type: db_write.
Create a new persona in the GIF registry. Issuing persona must have manage_personas in permitted_actions. Writes to delegation_chain when parent_persona_id is provided. Audit event type: persona_create.
Revoke a persona immediately. Issuing persona must have manage_personas in permitted_actions. Closes open sessions on the target persona. Atomic: status update + revocation_log + session close. Audit event type: persona_revoke.
Validate a persona by ID. Returns persona details if valid. Diagnostic tool — does not create a session or audit event.
Output schemas not documented. LLMs cannot predict response structure for any tool. session_start returns 'gif_session_id string' but full response shape is undocumented. persona_create, db_read, db_write responses are opaque.
db_read and db_write are generic names that obscure governance scope. LLMs cannot distinguish these from standard database tools. Rename to 'governed_db_read' and 'governed_db_write' or 'query_audit_table' / 'update_governed_table' to signal persona-based access control.
No tool annotations despite clear risk levels. persona_revoke is DESTRUCTIVE, session_close is WRITE, persona_validate is READ_ONLY. Add destructiveHint, readOnlyHint annotations to guide LLM planning and prevent accidental misuse.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
Close an active governance session immediately. Caller must own the session (persona_id must match the session's issuing persona). Closes the session record and emits a session_close audit event. After closure, the gif_session_id is invalid for all subsequent tool calls.
Mint a new governance session for a persona. Returns a gif_session_id string that must be passed to all subsequent tool calls. Session is valid for GIF_SESSION_TTL_SECONDS (default 86400 seconds / 24 hours). Audit event type: session_start.
Parameter format constraints stated in text but not in schema. 'valid_until' described as 'RFC 3339 timestamp' but no format constraint in JSON Schema. 'scope_definition' is 'JSON object' but no schema for its internal structure (permitted_actions, permitted_sources, max_results). LLMs cannot validate without formal constraints.
Error handling lacks recovery guidance. No documented error cases, retryability, or actionable messages. E.g., if persona_create fails due to missing 'manage_personas' permission, what should the LLM do? Retry? Ask user? Call a different tool?