Skip to main content
Glama
chrischall
by chrischall

Set the active Redfin session

redfin_set_active_session
Idempotent

Set the default Redfin session for subsequent tool calls by providing a registered session ID. Use this to route requests through a specific signed-in browser session without repeating the ID on every call.

Instructions

Switch which registered session subsequent tool calls route through by default. Pass a session_id previously returned by redfin_register_session. Tools that accept an explicit session_id parameter override this default per-call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession id to make active.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.10.1

TDQS

A4.5/5.0
Behavior4/5

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

The description discloses that the tool changes default routing state for subsequent calls, which goes beyond the annotations (readOnlyHint=false, idempotentHint=true). It also notes the override behavior. It does not describe failure behavior for invalid/unregistered session IDs, but the core stateful effect is transparent and does not contradict the annotations.

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?

Two sentences, each earning its place: the first states the primary action and effect, the second provides the prerequisite and the override behavior. No filler or repetition of schema details.

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?

For a simple state-setting tool with one parameter and no output schema, the description is complete: it defines the action, the prerequisite for the parameter, and how the default interacts with explicit session_id parameters. No critical information needed for calling it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100% and the schema describes session_id as 'Session id to make active.' The description adds important semantic meaning by requiring that the session_id was previously returned by redfin_register_session, which is not in the schema. This helps the agent understand the provenance requirement.

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 verb ('Switch') and resource ('registered session') and clarifies that this sets the default routing for subsequent tool calls. It clearly distinguishes this tool from siblings like redfin_register_session (which creates sessions) and redfin_get_session_context (which reads session info).

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?

It explicitly says to pass a session_id previously returned by redfin_register_session, giving a clear prerequisite. It also explains that tools accepting an explicit session_id override this default per-call, which tells the agent when the default applies and how to bypass it. It does not explicitly name alternative tools, but the guidance is sufficient for correct usage.

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