Skip to content

Overview

lookup is step 2 of the standard KanseiLink flow. After finding a service with search_services, call lookup to get the details you need before calling the service's API. The default mode returns agent tips (auth setup, pitfalls, workarounds) -- the most commonly needed information.

Standard flow: search_services --> lookup --> (execute the API) --> report

Modes

lookup supports 8 modes. The mode is auto-detected from your parameters, or you can set it explicitly with the mode parameter.

tips (default)

Returns agent-curated tips: auth setup gotchas, common pitfalls, and workarounds. This is the most useful mode for a first integration.

service_id (string, required): Service ID (from search_services).

Example

json
lookup({ "service_id": "freee" })

detail

Full connection guide including auth setup, endpoints, rate limits, and configuration details.

service_id (string, required): Service ID (from search_services).

detail (boolean, required): Set to true to trigger detail mode.

Example

json
lookup({ "service_id": "freee", "detail": true })

insights

Aggregated usage data: success rate, error trends, call volume, and reliability metrics.

service_id (string, required): Service ID (from search_services).

insights (boolean, required): Set to true to trigger insights mode.

Example

json
lookup({ "service_id": "kintone", "insights": true })

recipe

Multi-service workflow patterns. Describe a goal and get step-by-step instructions using compatible services.

goal (string, required): Workflow goal (e.g., "onboard employee"). Triggers recipe mode.

services (string[]): Your available service IDs -- for recipe coverage calculation.

Example

json
lookup({
  "goal": "onboard new employee and set up payroll",
  "services": ["smarthr", "freee", "slack"]
})

combinations

Find services that work well together. Uses fuzzy name matching.

service (string, required): Fuzzy service name (not service_id). Triggers combinations mode when service_id is absent.

Example

json
lookup({ "service": "freee" })

history

Time-series data: success rate, call volume, and trust score trends over time. Useful for consulting reports.

service_id (string, required): Service ID (from search_services).

period (enum): Time period: "7d", "30d", "90d", or "all". Triggers history mode. Default: "30d".

compare_with (string): Competitor service_id for side-by-side comparison. Triggers history mode.

Example

json
lookup({
  "service_id": "freee",
  "period": "90d",
  "compare_with": "moneyforward"
})

feedback

Read community feedback about services or the KanseiLink platform itself.

feedback_status (enum): Filter by status: "open", "acknowledged", "resolved", "all". Triggers feedback mode when present.

service_id (string): Optional. Filter feedback for a specific service.

feedback_type (string): Filter by feedback type (e.g., "suggestion", "bug_report").

feedback_limit (number, default: 20): Max results. Default: 20.

Example

json
lookup({
  "feedback_status": "open",
  "service_id": "freee"
})

voices

Read qualitative agent opinions about a service -- selection criteria, frustrations, recommendations.

service_id (string, required): Service ID to read voices for.

mode (string, required): Set to "voices" to trigger this mode (or rely on auto-detection by providing voice-specific filters).

voice_question_filter (string): Filter by question_id (e.g., "selection_criteria", "biggest_frustration").

voice_agent_type (string): Filter by agent type: "claude", "gpt", "gemini".

Example

json
lookup({
  "service_id": "kintone",
  "mode": "voices",
  "voice_question_filter": "biggest_frustration"
})

Mode Auto-Detection

The mode is resolved using the following priority order. The first match wins:

PriorityConditionMode
1mode parameter is set(explicit override)
2goal is presentrecipe
3service_id + (period or compare_with)history
4service_id + insights: trueinsights
5service_id + detail: truedetail
6feedback_status is presentfeedback
7service (fuzzy name, no service_id)combinations
8service_id onlytips (default)

If no actionable parameters are provided, the tool returns an error with guidance.

All Parameters

ParameterTypeRequiredModesDescription
service_idstringvariestips, detail, insights, history, feedback, voicesService ID from search_services
goalstringreciperecipeWorkflow goal description
servicesstring[]--recipeYour available service IDs for coverage calculation
servicestringcombinationscombinationsFuzzy service name
periodenum--historyTime period: 7d, 30d, 90d, all
compare_withstring--historyCompetitor service_id for comparison
detailboolean--detailSet true for full connection guide
insightsboolean--insightsSet true for aggregated usage data
modeenum--allExplicit mode override
feedback_statusenum--feedbackFilter: open, acknowledged, resolved, all
feedback_typestring--feedbackFilter by feedback type
feedback_limitnumber--feedbackMax results (default: 20)
voice_question_filterstring--voicesFilter by question_id
voice_agent_typestring--voicesFilter by agent type

Tips

  • Start with the default (tips mode). Just pass service_id and you get the most actionable information: auth pitfalls, common errors, and workarounds.
  • Use detail: true only when you are ready to integrate. It returns the full connection guide which is more verbose.
  • Use insights: true to assess reliability before committing to a service integration.
  • Recipe mode is powerful for multi-service workflows. Pass your available services array so the recipe can calculate coverage.
  • History mode is designed for consulting reports and trend analysis. Use compare_with for competitive analysis.

MIT License