SpeakBase

v1.0.0
io.speakbase/speakbase Checked 4 days ago Published 13 days ago

Placement test, vocabulary quizzes and spoken lessons with Kate, an AI language tutor.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

start_placement_test Start a CEFR placement test

Starts a short reading placement test (about 15 multiple choice questions, levels A1 to C1) from SpeakBase's CEFR item bank. The test is for ENGLISH. For any other language it returns a link to SpeakBase's free spoken level test for that language instead. Returns a test_id and 5 short texts with their questions and lettered options; answer keys stay on the server. The answers are scored by score_placement_test.

ParameterTypeDescription
languagestringThe language being learned, two-letter code.
native_languagestringThe learner's own language as a two-letter code (for example he, es, ar). Used for explanations and for the language of the SpeakBase page the links open in.

score_placement_test Score the placement test

Scores a placement test started with start_placement_test. Pass the test_id and the answers in question order (letters A to D). Scoring happens on the SpeakBase server; returns a CEFR level (A1 to C1), a 0 to 100 score and a link to the free spoken level test, which measures speaking.

ParameterTypeDescription
answers *arrayOne answer per question, in order, for example ["B","A","C", ...].
test_id *string
native_languagestringThe learner's own language as a two-letter code (for example he, es, ar). Used for explanations and for the language of the SpeakBase page the links open in.

get_vocabulary_set Get a vocabulary set

Returns a free vocabulary set from the SpeakBase public library (about 2,300 sets written and checked by teachers) for a language pair, optionally filtered by CEFR level and topic, with up to 25 cards (word or phrase and its meaning). Includes a link to study the set with audio and games on SpeakBase, and a link to speak with Kate about it.

ParameterTypeDescription
language *stringThe language being learned.
levelstring
native_languagestringThe language the meanings should be in (two-letter code). If omitted, English meanings are preferred.
topicstringA word to match in the set title or tags, for example food, travel, phrasal verbs, past simple.

speak_with_kate Speak with Kate

Returns a link that opens a live spoken lesson with Kate, SpeakBase's AI speaking tutor, in the chosen language, optionally in a role-play scenario (job interview, ordering at a cafe, doctor visit, small talk at work and 40 more). Speaking happens on SpeakBase in the browser with a microphone; the first lessons are free. Also returns the scenario list.

ParameterTypeDescription
language *stringThe language to speak.
native_languagestringThe learner's own language as a two-letter code (for example he, es, ar). Used for explanations and for the language of the SpeakBase page the links open in.
scenariostringA scenario id from the list in this description's result; omit for free conversation.

common_mistakes Common mistakes for a language pair

Returns the mistakes SpeakBase's tutor corrects most often for speakers of one language learning another, counted across real lessons (aggregate counts only, shown when at least 10 different learners contributed and at least 3 per mistake type), plus SpeakBase's false friends or typical mistakes set for the pair and an article where one exists. Good for 'what mistakes do Spanish speakers make in English?'.

ParameterTypeDescription
native_language *stringThe learner's own language (two-letter code).
languagestringThe language being learned.

my_level My SpeakBase level

Signed-in only. Returns the person's CEFR level from their SpeakBase spoken level checks (per language, with fluency, vocabulary, grammar and interaction scores) and the level they set in their profile.

my_words_due My words due for review

Signed-in only. Returns how many of the person's saved SpeakBase words are due for spaced-repetition review and up to 20 of them (word and meaning). Answers are not written back; reviewing on SpeakBase updates the schedule.

ParameterTypeDescription
languagestringOnly words in this language. Defaults to the language the person is studying on SpeakBase.
limitinteger

my_recent_corrections Kate's recent corrections

Signed-in only. Returns the corrections Kate, the SpeakBase speaking tutor, made in the person's recent spoken lessons: what they said, the better way, and a short tip.

ParameterTypeDescription
limitinteger

my_classes My classes (teachers)

Signed-in teachers only. Lists the teacher's SpeakBase classes with the number of students and sets in each, and a link to open each class on SpeakBase.

create_set Create a study set

Signed-in only, for students and teachers. Side effect: saves a NEW private study set to the person's own SpeakBase account from a list of cards (term and meaning per card, at most 200 characters a side), optionally starting from the cards of a public library set. On SpeakBase a saved set is a full practice unit, not only flashcards: flashcards, learn, test, fill in the blank, audio dictation, three games, spaced review, and a live spoken lesson with Kate, the AI speaking tutor, on exactly these words. It does not assign the set to any class, does not notify anyone and does not change or delet…

ParameterTypeDescription
title *stringTitle of the set, for example: Kitchen words, A2.
cardsarrayThe person's cards. term is the word or phrase in language; definition is its meaning in explained_in.
descriptionstringA short description shown with the set.
explained_instringThe language of each meaning (for example en). Can be the same as language for definitions. Taken from the library set when one is given.
from_library_setstringOptional starting point: the library_set_id (or study link) of a public library set from get_vocabulary_set. Its cards are copied first.
keep_library_termsarrayWith from_library_set: copy only the library cards with these terms. Omit to copy them all.
languagestringThe language the cards teach: the language of each term (for example es). Taken from the library set when one is given.
levelstringCEFR level of the set.

add_cards Add cards to my set

Signed-in only. Side effect: adds new cards to a study set the person owns on SpeakBase; every practice mode and the spoken lesson with Kate then include them. It only adds: existing cards, their review history and the set's other settings are not changed or deleted, and a term already in the set is skipped. Stops at the account's card limit per set (free student 30, free teacher 60, Premium 500).

ParameterTypeDescription
cards *arrayThe new cards. term is the word or phrase in the set's language; definition is its meaning.
set_id *stringThe set_id that create_set returned, or the set's SpeakBase link.

my_sets My study sets

Signed-in only, read only. Lists the person's own SpeakBase study sets (title, language, number of cards, set_id). With set_id, returns that set's cards (term and meaning, up to 200) and its study and speaking links.

ParameterTypeDescription
set_idstringA set_id from this list or from create_set, or the set's SpeakBase link. Omit to list the sets.

my_homework My class homework

Signed-in only, read only. Lists the study sets the person's SpeakBase classes assigned as homework, with the due date, how many cards they have studied so far, a link to study each set and a link to practise it out loud with Kate.

assign_set_to_class Assign my set to my class (teachers)

Signed-in teachers only. Side effect: makes one of the teacher's own study sets homework for one of the teacher's own classes, and notifies that class's students in SpeakBase and by email, once. Without confirmed=true it changes nothing and returns what would happen (set, class, number of students, due date). It does not create, change or delete cards, and cannot touch other teachers' classes.

ParameterTypeDescription
class *stringThe class name or class_id, as listed by my_classes.
set_id *stringThe set_id of one of the teacher's own sets (from create_set or my_sets), or its SpeakBase link.
confirmedbooleantrue only when the teacher has said yes to assigning this set to this class and notifying its students.
due_in_daysintegerDays until the homework is due. Default 7; 0 for no due date.

class_progress Class homework progress (teachers)

Signed-in teachers only, read only. For one of the teacher's own classes, returns each assigned set with the due date and how many students started it, studied every card, or have not started. Counts only, no student names; the names are on the class page it links to.

ParameterTypeDescription
class *stringThe class name or class_id, as listed by my_classes.

news_in_levels News in levels (SpeakBase Times)

Returns recent real news stories from SpeakBase Times rewritten in simple English at the learner's level (four levels, A1 to B2), with the story text, its key words and their meanings, a link to read it with exercises on SpeakBase and a link to talk about the story with Kate. English only. No sign-in.

ParameterTypeDescription
articlestringThe article id from an earlier result, to get that story's text at the chosen level.
categorystringA news category to prefer, for example Science, Technology, Sports, Health, World.
levelstringThe learner's CEFR level. A1, A2 and B1 map to reading levels 1 to 3; B2 and above to level 4. Default A2.
native_languagestringThe learner's own language as a two-letter code (for example he, es, ar). Used for explanations and for the language of the SpeakBase page the links open in.