Skip to main content
Glama

noark5_set_credentials

Configure authentication for the Noark 5 API using basic auth or OIDC password grant, with automatic token renewal to maintain secure access.

Instructions

Set authentication credentials for the Noark 5 API.

Supports two authentication methods:

  • Basic auth (RFC 7617): username/password encoded as Base64

  • OIDC / OAuth2 password grant: auto-discovers token endpoint via login/oidc/, with automatic token renewal via refresh_token

Args: username: The username for authentication. password: The password for authentication. base_url: Optional API base URL (default from env or http://localhost:8092/noark5v5/). auth_method: Authentication method — "auto" (default), "basic", or "oidc". With "auto", the server's root entity is queried to detect available login endpoints; OIDC is preferred over Basic. client_id: OIDC client identifier (optional, used with oidc method).

Returns confirmation and root entity links on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
base_urlNo
passwordYes
usernameYes
client_idNo
auth_methodNoauto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description fully carries the behavioral disclosure burden. It details both supported auth flows, token renewal via refresh_token, auto-detection of OIDC vs Basic, default base_url behavior, and the success return content.

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 structured with clear bullets and an Args section. It is moderately long but every sentence adds useful information, with the core purpose stated first.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity and the absence of annotations, the description covers the essential setup logic, authentication methods, defaults, and return value. An agent has enough context to call this tool correctly without further clarification.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description compensates fully by documenting every parameter: username, password, base_url, auth_method, and client_id, including defaults, allowed values, and behavioral implications.

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 states a specific action, 'Set authentication credentials for the Noark 5 API', and clearly distinguishes it from the entity-focused sibling tools. The resource and purpose are immediately evident.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when this tool is used: setting up authentication before working with the API. It explains the auth_method options and auto-detection behavior, though it does not explicitly state exclusions or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/petterreinholdtsen/noark5-tg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server