Home/Tools/@tpmjs/tools-rubric-create

rubricCreateTool

@tpmjs/tools-rubric-create

Create a grading rubric with performance criteria, levels, and point values

Official
edu
v0.1.0
MIT
⚠️

This tool is currently broken

Execution Failed
Runtime error with test parameters
Criteria array must contain at least one criterion

Last checked: 2/20/2026, 4:22:25 AM

Interactive Playground

Test @tpmjs/tools-rubric-create (rubricCreateTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-rubric-create
pnpm add @tpmjs/tools-rubric-create
yarn add @tpmjs/tools-rubric-create
bun add @tpmjs/tools-rubric-create
deno add npm:@tpmjs/tools-rubric-create

2. Import the tool

import { rubricCreateTool } from '@tpmjs/tools-rubric-create';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { rubricCreateTool } from '@tpmjs/tools-rubric-create';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { rubricCreateTool },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Signature

(criteria: string[], assignment: string, totalPoints: number) => Promise<unknown>

Tags

ai
assessment
create
criteria
edu
education
grading
levels
performance
point
rubric
tpmjs
values

Parameters

Available configuration options

Auto-extracted
assignment
Required
Type: string

The assignment or task being evaluated

criteria
Required
Type: array

Array of criteria to evaluate

totalPoints
Required
Type: number

Total possible points for the assignment

Schema extracted: 2/20/2026, 4:22:25 AM

README

ERROR: No README data found!

Statistics

Downloads/month

5

GitHub Stars

0

Quality Score

72%

Bundle Size

NPM Keywords

tpmjs
edu
ai
rubric
grading
assessment
education

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai
rubricCreateTool | TPMJS | TPMJS