Skip to main content
Glama

Sign In

sign_in

Authenticate to AFFiNE with email and password, creating a session for subsequent API calls to access workspaces, documents, and databases.

Instructions

Sign in to AFFiNE using email and password; sets session cookies for subsequent calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesAFFiNE account email address.
passwordYesAFFiNE account password. Use a dedicated least-privilege account for unattended deployments.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
signedInYes
Behavior4/5

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

Annotations already indicate mutation (readOnlyHint=false). The description adds the specific behavioral trait of setting session cookies, which explains the mechanism and prerequisite nature beyond the annotation. It does not cover edge cases like session expiry or invalidation, but the core behavior is disclosed.

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 a single sentence with two concise clauses, front-loading the main action and quickly stating the side effect. No filler or redundant information.

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?

For a simple two-parameter authentication tool with an output schema, the description provides the essential purpose and side effect. It lacks explicit mention of session duration or behavior on repeated sign-in, but given the low complexity and output schema presence, it is adequately complete.

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 coverage is 100%, so the schema already documents both parameters (email and password) with descriptions. The tool description adds no additional parameter semantics, but the baseline of 3 is appropriate given full schema coverage.

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 clearly specifies the action ('Sign in to AFFiNE'), the method ('using email and password'), and the resource (AFFiNE). It also mentions the side effect of setting session cookies, which distinguishes it from all sibling tools that operate on workspaces and docs.

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 implies this is a prerequisite for subsequent calls by stating it 'sets session cookies for subsequent calls,' providing clear context. There are no alternative sign-in tools among siblings, so no explicit when-not-to-use guidance is needed.

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/irfanhak123/affine-mcp-server'

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