Skip to main content
Glama
codedb-io

codeDB Lens

Official

check

Read-only

Run a read-only codeDB Lens health assessment on a profile to get an A–F grade, rule coverage, severity-ranked findings with evidence and next actions, plus rules without data; save it to history.

Instructions

Run the codeDB Lens health check on a profile (read-only, 10-60 s): A-F grade with its coverage, findings with severity, confidence, evidence preview and next action, and rules without data. Saves the report in the profile's history, like the app does.

Input Schema

NameRequiredDescriptionDefault
redactNomask host, database, object, login and file names and drop query text
profileYesprofile name from list_profiles

Output Schema

NameRequiredDescriptionDefault
noteYes
gradeYes
scoreYes
passedYes
reportYes
serverYes
no_dataYes
coverageYes
findingsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

B3.3/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description explicitly says the tool is 'read-only' but also says it 'Saves the report in the profile's history.' Persisting a report to history is a write-like side effect, which contradicts the readOnlyHint=true annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that efficiently packs runtime, output contents, and persistence behavior. It is dense but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that an output schema exists, the description need not explain return values. It covers runtime and the main result categories, though it omits explicit sibling selection guidance and leaves the read-only/history-save tension unresolved.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented. The description mentions operating 'on a profile' but adds no syntax, format, or constraint details beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Run the codeDB Lens health check on a profile.' The output summary (A-F grade, findings, rules without data) further distinguishes it from siblings such as query, compare, or list_rules.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies use when a profile-level health check is wanted and gives runtime expectations, but it gives no explicit when-not-to-use guidance and does not mention alternatives like compare, describe_table, or explain_rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.