Skip to main content
Glama

Look up imported objects (import)

import_lookup
Read-only

Maps up to 200 Confluence page, space, comment, or attachment IDs to Sophia IDs and flags which source IDs were already imported, so you can build internal links or resume migrations.

Instructions

Needs a token with the import:write scope whose owner is a global admin. Nothing is emailed or notified, and no per-row audit events are written. Map Confluence ids to Sophia ids (up to 200 per call). For pages it gives the Sophia page id to build internal links: [Title](/sophia/spaces/<KEY>/pages/<pageId>) (KEY = the key of the space where that page was imported). Source ids that were not imported are listed apart. Also tells whether something was already imported, to resume an interrupted migration.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "source_ids": "<source_ids>"
    },
    "name": "import_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoKind of Confluence object.confluence_page
source_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description still earns credit for non-obvious context the annotations cannot carry: the token needs the import:write scope with a global-admin owner, and the call sends no emails and writes no per-row audit events. That is a materially useful surprise for a read-only lookup, though no rate-limit or error behavior is mentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense and waste-free: auth, side effects, mapping behavior, unmapped output, and resumption all appear in a few sentences. The weakness is ordering – it opens with a token-scope prerequisite and only reveals the core mapping purpose in the third sentence, pushing the most important information past the front.

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

Completeness3/5

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

With only two parameters this is a simple tool, but there is no output schema, so the description must carry the return shape itself. It sketches the result (mapped ids, unmapped ids listed apart, a page id for link building) yet leaves ordering, exact result keys, and partial-miss behavior unspecified.

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 50%: the type enum is already documented in the schema, and source_ids carries only length bounds. The description compensates partly by framing source_ids as Confluence ids and reiterating the 200 cap, and by noting that page lookups yield a usable page id – but it never explains the id format or how the four object types change the result.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb and resource: 'Map Confluence ids to Sophia ids (up to 200 per call)', plus the extra function of listing source ids that were not imported. An agent knows exactly what it gets back. It never names or contrasts with the sibling import_ids, so the line between the two lookup tools must be inferred.

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?

Gives concrete situations to reach for it: building internal page links from a Sophia page id, and detecting whether something was already imported to resume an interrupted migration. It does not state when to prefer a sibling tool or what to do when a lookup is inappropriate.

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