Skip to main content
Glama

nifra_example

Read-only

Get a VERIFIED, copy-pasteable nifra code example for a task - auth route, file upload, ISR page, loader/action, typed client, SSE, deployment, etc. Every snippet is typechecked against the installed nifra version, so it compiles as-is. PREFER THIS over writing nifra code from memory (training data drifts). Returns code as TEXT for direct use; to visually browse the whole example set instead, use nifra_gallery. Call with no query for the grouped index; pass query (e.g. "protected route", "upload", "isr revalidate") for matching snippets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax examples to return (default 3, max 5).
queryNoWhat you want an example of (omit for the index).

Schema Changelog

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

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The description adds the verified/typechecked behavior ("Every snippet is typechecked against the installed nifra version") and the return format ("Returns code as TEXT for direct use"), which complements the readOnlyHint=true annotation. It doesn't fully detail pagination or grouping behavior, but the annotations cover the read-only safety profile. Solid transparency above the annotation baseline.

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 efficient, front-loading the core purpose in the first sentence and covering usage, alternatives, return format, and query semantics in a compact paragraph. Every sentence earns its place with actionable information.

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?

For a text-returning search tool with no output schema and full param coverage, the description adequately covers what's returned (code as TEXT), how to use it (with/without query), and when to prefer it (verified vs from-memory). Slightly more on the grouped index structure could help, but this is largely complete for its complexity.

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 description coverage is 100%, so both parameters (limit, query) are documented in the schema. The description adds example query values ("protected route", "upload", "isr revalidate") and clarifies the omit-query-for-index behavior, which is marginal value over the schema but not substantial. Baseline 3 is appropriate.

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 uses a specific verb+resource ("Get a VERIFIED, copy-pasteable nifra code example") and lists concrete task categories (auth route, file upload, ISR page, etc.). It clearly distinguishes from siblings by naming nifra_gallery as the visual alternative and emphasizing this tool returns text for direct use.

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?

The description explicitly says "PREFER THIS over writing nifra code from memory (training data drifts)", giving strong when-to-use guidance. It also names the alternative nifra_gallery for visual browsing and explains the call-with-no-query vs pass-query distinction. This is exemplary usage guidance.

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.