Skip to main content
Glama
AskBase

AskBase

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ASK_API_KEYYesYour AskBase API key, created in the AskBase portal with the required scopes.
ASK_API_BASE_URLNoAskBase API base URL.https://api.getnuvvi.ai
ASK_DEFAULT_TOP_KNoNumber of search results per query.5
ASK_DEFAULT_SIMILARITY_THRESHOLDNoMinimum similarity for search results.0.2

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Tools for an AskBase knowledge base: search it, browse collections and documents, and add content. Answer from search results and cite the document title; if nothing relevant comes back, say the knowledge base doesn't cover it. CRM tools cover contacts, companies, deals and deal suggestions; confirm with the user before any tool that changes data.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchB

Semantic search over the knowledge base. Returns the most relevant passages with their document titles and sources.

list_collectionsC

List the knowledge base's collections.

get_collection_statsB

Document, chunk and token counts for one collection.

list_documentsB

List documents, optionally in one collection or with one status (pending, processing, completed, failed).

get_documentC

Details of one document.

get_document_chunksC

The text chunks of one document, in order.

ingest_urlB

Scrape one web page and add it to a collection.

ingest_websiteB

Crawl a website from a start URL and add its pages to a collection.

create_documentC

Add a text document to a collection.

publish_documentsA

Publish documents (or set them back to draft / unpublished). New documents start as drafts: only published documents are searchable and used by the live assistant, so publish after the user has reviewed them. Documents must have finished processing.

list_knowledge_basesA

List the project's knowledge bases (each holds collections).

create_collectionA

Create a collection. Collections live in a knowledge base: if the project has exactly one it's used, if it has none one is created; with several, pass knowledge_base_id. Needs an API key with the 'write' scope.

list_unanswered_questionsB

Groups of customer questions the live assistant couldn't answer from the knowledge base, most frequent first. Use to find content gaps.

get_unanswered_questionC

One group of unanswered questions: the real customer questions in it, and any saved answer suggestion.

suggest_answerA

Have AskBase analyse a group of unanswered questions and recommend a fix: new content or flow, a new tool, or a data issue (uses the model; takes a few seconds).

list_failed_lookupsB

Tool lookups (orders, accounts, bookings...) that came back empty for customers, grouped by pattern. Use to find integration or data gaps.

find_contactsB

Find CRM contacts by name, email or company. Needs CRM turned on for the project.

get_contactC

A CRM contact's profile: identity, company, stage, language, activity counts, tags and custom fields.

get_contact_memoryB

What the assistant remembers about a contact: current facts and preferences, open promises, recent conversation summaries and recent activity.

list_open_itemsB

Open items across all contacts: promises we made, things we're waiting on, follow-ups. Filter by owner and due date.

update_open_itemA

Mark an open item done or cancelled (or reopen it). Changes what the assistant tells the customer: confirm with the user first.

find_companiesB

Find companies in the CRM by name or email domain, optionally by industry or size. Shows contact counts and last activity.

get_companyC

A company's profile, its contacts, its open deals and any pending deal suggestions.

list_dealsB

List deals. Filter by status (open, won, lost), pipeline, company, contact or name; sort by close_date, amount, updated, created or name.

get_dealB

One deal: amount, stage and probability, close date, company, people and their roles, at-risk flag, and recent history.

deal_pipeline_summaryA

Pipeline overview: stages of each pipeline, open value by stage, weighted forecast by close month, win rate and average time to win over a period, and deals past their close date. Amounts are per currency, never converted.

list_deal_suggestionsA

Deal suggestions the assistant noticed in customer conversations (new deal, move a deal forward, deal at risk), each with the customer's own words. Pending ones wait for a person to decide.

create_dealA

Create a deal. Changes the CRM: confirm the details with the user first. Amounts need an ISO currency. Defaults to the default pipeline's first stage.

move_dealA

Move a deal to another stage (by name or ID); moving to a lost stage takes an optional reason. Changes the CRM: confirm with the user first.

decide_deal_suggestionA

Accept or dismiss a deal suggestion. Accepting a new_deal creates the deal (you can adjust name, amount, currency, close date); advance moves the deal; at_risk flags it. Confirm with the user first.

ask_assistantA

Ask the project's live assistant a question, as an anonymous visitor would, and get its answer and sources. Each call runs the real model (costs tokens) and appears as a test conversation in the portal.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 31 tools

Disambiguation4/5

Most tools target a clearly distinct resource+action, and the descriptions actively separate near-pairs like ingest_url (single page) vs ingest_website (crawl), and search (semantic retrieval) vs ask_assistant (runs the live model). A few boundaries are softer — publish_documents bundles publish/unpublish/draft modes, and create_document vs ingest_url both 'add content' — but an agent can reasonably pick the right tool.

Naming Consistency4/5

The surface is overwhelmingly consistent snake_case verb_noun (list_collections, get_document, create_deal, move_deal, decide_deal_suggestion). Minor deviations are the bare 'search' and the noun-phrase 'deal_pipeline_summary' / 'ask_assistant', which break the pattern but remain unambiguous.

Tool Count2/5

31 tools is heavy for a single server and spans four loosely coupled domains (knowledge base, unanswered-question analytics, CRM contacts/companies, deals, plus assistant testing). Each tool is individually defensible, but the set is large enough that discovery and selection cost is significant.

Completeness3/5

Read/create coverage is strong and lifecycle steps like publish and processing status are handled, but write-side gaps are notable: no update or delete for documents/collections, no contact or company create/update, and no way to edit a deal's amount, close date, or delete it. Agents hitting those needs will dead-end.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues