Skip to main content
Glama

nifra_example

Read-onlyIdempotent

Get a verified, copy-pasteable Nifra code example for a task - auth route, file upload, ISR page, loader/action, typed client, SSE, deployment, and more. Every snippet is typechecked against the installed Nifra version, so it compiles as-is. Returns code as text for direct use. 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.

  1. Changed1 schema field changed
    • addedInput schema / properties / query / maxLength
      Added value: +256
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior, so the bar is lower. The description adds genuine value beyond that: snippets are typechecked against the installed Nifra version so they compile as-is, and results are returned as plain text code.

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?

Three sentences, front-loaded with the value proposition (verified, copy-pasteable, compiles as-is), followed by the return format and then invocation instructions. No filler, though the long category list is close to padding.

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?

With no output schema, the description correctly states the return format (code as text for direct use). Annotations cover the safety profile and the schema is fully documented, leaving little missing for a simple two-parameter lookup tool.

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 (query, limit) are already documented including the default/max on limit. The description largely restates the schema's omit-for-index behavior and adds only example query phrases, so baseline 3 is appropriate.

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

Purpose4/5

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

States a specific verb and resource: get a verified, copy-pasteable code example for a named task, and enumerates the covered categories (auth route, file upload, ISR page, loader/action, typed client, SSE, deployment). It never distinguishes itself from the close siblings nifra_docs, nifra_learn, or nifra_types, so an agent must infer the boundary.

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?

Gives clear invocation guidance (no query = grouped index, query = matching snippets) with concrete query examples like "protected route" and "upload". However it offers no when-to-use versus alternatives guidance, which matters given the overlapping nifra_docs and nifra_learn siblings.

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.