Skip to main content
Glama
FROWNINGdev

django-orm-lens

by FROWNINGdev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DJANGO_ORM_LENS_ROOTNoAbsolute path to the Django project root directory. If not set, uses the current working directory.

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_appsA

List every Django app in the workspace with model counts.

list_modelsC

Flat list of app.Model. Optional 'app' filter.

describe_modelA

Full JSON detail for one model: fields, relations, Meta, base classes, file path.

find_relationsC

Outbound (this model → others) and inbound (others → this) relations.

er_diagramB

Emit a Mermaid erDiagram for the whole workspace.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 5 tools

Disambiguation5/5

Each tool serves a distinct purpose: listing apps/models, describing a single model, finding relations, and generating an ER diagram. No overlap in functionality.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern (list_apps, list_models, describe_model, find_relations). The exception is 'er_diagram' which is noun_noun, though still readable.

Tool Count5/5

With 5 tools, the set is well-scoped for Django ORM introspection. Each tool earns its place, covering essential operations without redundancy.

Completeness5/5

The tool surface covers the full lifecycle of ORM exploration: listing apps/models, retrieving model details, analyzing relations, and visualizing the schema. No obvious gaps.

Maintenance

ActivityActive
ResponsivenessResponsive