Skip to main content
Glama

nifra_types

Read-only

Get the EXACT TypeScript declaration of any exported @nifrajs/* symbol - interface, type, class, function, const. Each signature is generated from the package's built .d.ts, so it is the LITERAL declaration: complete, authoritative, never prose and never truncated. THIS IS THE SOURCE OF TRUTH for nifra's types - do NOT read node_modules/@nifrajs/**/*.d.ts; call this instead. Pass name for an exact symbol (e.g. "RateLimitStore", "RouteSchema", "Context", "rateLimit"); pass query to search by keyword; omit both for the per-package index of names. A name lookup is always the complete declaration; a query returns a one-line summary plus the signature, collapsing an oversized body - pass full: true to override.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoQuery mode only: return whole declarations instead of collapsed ones. Off by default - a search is for picking a symbol, and one match can be tens of thousands of characters.
nameNoExact symbol name - returns its literal declaration (e.g. RateLimitStore).
limitNoMax results for a query/search (default 5, max 8).
queryNoKeyword search over names + signatures (when you don't know the exact name).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so no contradiction there. The description adds valuable behavioral detail: that `name` lookups return complete declarations, query results collapse oversized bodies, and that a single match can be tens of thousands of characters. It clearly discloses the return shape and format without contradicting annotations.

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

Conciseness5/5

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

The description is dense but every sentence earns its place - it packs purpose, mode selection, format guarantees, and an anti-path (don't read node_modules) into a tight block. Front-loaded with the core promise before diving into mode details. Zero waste.

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

Completeness5/5

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

For a read-only lookup tool with no output schema, 100% covered params, and zero required parameters, this description is fully complete. It explains return formats for each mode, size/performance caveats, defaults, and boundary behaviors - nothing is left ambiguous for someone looking up type declarations.

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

Parameters4/5

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

Schema coverage is 100% and the schema descriptions are already detailed, so baseline is 3. The description adds meaningful context beyond schema: the relationship between name/query/full modes, the collapse behavior, and the default limit semantics. This elevates it above the baseline, though the schema already handles most of the heavy lifting.

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 verb 'Get' plus explicit resource (TypeScript declarations of @nifrajs/* symbols) makes the purpose unmistakable, naming the exact kind of output (interface, type, class, function, const). It clearly distinguishes from siblings by emphasizing this is 'THE SOURCE OF TRUTH' for types vs docs/examples/learn, and even names what NOT to do (read node_modules .d.ts).

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

Usage Guidelines5/5

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

Provides explicit when-to-use instruction ('do NOT read node_modules...call this instead'), clear mode distinctions (name for exact, query for search, omit both for index), and when to override with full:true. This is exemplary guidance on invocation decisions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: nifra_docs searches docs, nifra_example returns a single verified snippet, nifra_gallery is an interactive browser widget, nifra_learn walks a guided learning path, and nifra_types returns authoritative API declarations. The cross-references between tools (e.g., which tool to use instead of another in a given situation) reduce any ambiguity to zero.

Naming Consistency5/5

All five tools follow a consistent nifra_ prefix with distinct, descriptive noun suffixes (docs, example, gallery, learn, types). The naming pattern is perfectly uniform and each suffix clearly conveys the tool's role.

Tool Count5/5

Five tools is an ideal size for a documentation server. Each tool earns its place: search docs, fetch an example, browse examples, learn path, and type lookups - no redundant or missing surfaces for this scope.

Completeness5/5

The tool surface covers the full documentation lifecycle: semantic search (docs), verified copy-paste examples (example), visual browsing (gallery), guided learning (learn), and authoritative type declarations (types). No dead ends - the tools cross-reference each other to compose a complete workflow, and every tool handles the no-arg index case plus parametrized queries.