Skip to main content
Glama
figjam-context-mcp

figjam-context-mcp

Answer From Board

answer_from_board
Read-only

Answers one specific question from the most relevant board excerpts, returning validated Figma citations (node ID and link) or an insufficient-evidence result.

Instructions

Answer one specific question, such as a number, a status or a decision, from the most relevant excerpts of an ingested board, with validated source citations or an insufficient-evidence result. It finds excerpts by the question's words (whole words, ignoring case and accents, plus some word forms and compounds for words of at least five letters; no synonyms or translations), so ask with the board's words and language. Keep its citations (node ID and Figma link) with the statements they support. It reads only a handful of excerpts: not for summaries, lists, risks or next steps across several sections; read those with get_board_context. Sends the question and the selected excerpts to the configured LLM provider; calls may incur charges.

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": {
      "boardId": "<boardId>",
      "question": "<question>"
    },
    "name": "answer_from_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardIdYesThe Figma file key returned by ingest_board, or the board URL
questionYesOne specific question using the board's words and language (1–2000 characters after trimming)
snapshotIdNoAsk about an older retained snapshot by ID. Defaults to the latest snapshot

Output Schema

NameRequiredDescriptionDefault
answerYes
citationsYes
snapshotIdYes
citedClustersYes
ignoredArgumentsNoUnknown input keys that were ignored; their values are not echoed. Absent when none

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.13.1
    • addedInput schema / properties / question / description
      Added value: +"One specific question using the board's words and language (1–2000 characters after trimming)"
    • addedInput schema / properties / snapshotId / description
      Added value: +"Ask about an older retained snapshot by ID. Defaults to the latest snapshot"
  2. Changed5 schema fields changedv0.12.0
    • changedInput schema / properties / boardId / description
      Previous value: -"The Figma file key returned by ingest_board"New value: +"The Figma file key returned by ingest_board, or the board URL"
    • changedInput schema / properties / boardId / maxLength
      Previous value: -128New value: +2048
    • removedInput schema / properties / boardId / pattern
      Removed value: -"^[A-Za-z0-9]+$"
    • addedOutput schema / properties / citations / items / properties / frameNames
      Added value: +{
      +  "description": "Names of enclosing frames and groups, outermost first",
      +  "items": {
      +    "maxLength": 80,
      +    "type": "string"
      +  },
      +  "maxItems": 16,
      +  "type": "array"
      +}
    • addedOutput schema / properties / ignoredArguments
      Added value: +{
      +  "description": "Unknown input keys that were ignored; their values are not echoed. Absent when none",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed1 schema field changedv0.7.0
    • changedOutput schema / properties / citations / items / properties / sourceType / enum
      Previous value: -[
      -  "board_text",
      -  "table_cell",
      -  "board_metadata",
      -  "model_interpretation",
      -  "cluster_summary"
      -]New value: +[
      +  "board_text",
      +  "table_cell",
      +  "table_row",
      +  "board_metadata",
      +  "model_interpretation",
      +  "cluster_summary"
      +]
  4. Changed13 schema fields changedv0.4.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / boardId / description
      Added value: +"The Figma file key returned by ingest_board"
    • addedInput schema / properties / boardId / maxLength
      Added value: +128
    • addedInput schema / properties / boardId / minLength
      Added value: +6
    • addedInput schema / properties / boardId / pattern
      Added value: +"^[A-Za-z0-9]+$"
    • addedInput schema / properties / question / maxLength
      Added value: +2000
    • addedInput schema / properties / question / minLength
      Added value: +1
    • addedInput schema / properties / snapshotId
      Added value: +{
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "pattern": "^[A-Za-z0-9_-]+$",
      +  "type": "string"
      +}
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / citations
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "clusterId": {
      +        "type": "string"
      +      },
      +      "clusterLabel": {
      +        "type": "string"
      +      },
      +      "column": {
      +        "type": "number"
      +      },
      +      "evidenceId": {
      +        "type": "string"
      +      },
      +      "modelDerived": {
      +        "type": "boolean"
      +      },
      +      "nodeId": {
      +        "type": "string"
      +      },
      +      "nodeName": {
      +        "maxLength": 160,
      +        "type": "string"
      +      },
      +      "pageId": {
      +        "type": "string"
      +      },
      +      "pageName": {
      +        "maxLength": 160,
      +        "type": "string"
      +      },
      +      "quote": {
      +        "type": "string"
      +      },
      +      "row": {
      +        "type": "number"
      +      },
      +      "sectionIds": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "sectionNames": {
      +        "items": {
      +          "maxLength": 80,
      +          "type": "string"
      +        },
      +        "maxItems": 16,
      +        "type": "array"
      +      },
      +      "snapshotId": {
      +        "type": "string"
      +      },
      +      "sourceType": {
      +        "enum": [
      +          "board_text",
      +          "table_cell",
      +          "board_metadata",
      +          "model_interpretation",
      +          "cluster_summary"
      +        ],
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "evidenceId",
      +      "snapshotId",
      +      "nodeId",
      +      "quote",
      +      "url",
      +      "sourceType",
      +      "modelDerived"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / snapshotId
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "answer",
      -  "citedClusters"
      -]New value: +[
      +  "answer",
      +  "citedClusters",
      +  "snapshotId",
      +  "citations"
      +]
  5. First observedv0.1.0

TDQS

A4.4/5.0
Behavior3/5

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

Going beyond the readOnly/destructive annotations, it discloses real behavioral traits: retrieval is keyword-based (whole words, no synonyms or translations), it reads only a handful of excerpts, and it sends the question and excerpts to a configured LLM provider, which may incur charges, with an insufficient-evidence outcome. These are meaningful additions. However, the description contradicts the idempotentHint=false annotation, since the same question against the same snapshot should return the same result; that inconsistency holds it back from a higher score.

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?

Front-loaded with the core purpose, then constraints and the routing alternative. The parenthetical breakdown of matching rules is dense and slightly long but every clause carries operational information; nothing is decorative padding.

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?

With an output schema present and 100% parameter description coverage, the description need only cover purpose, retrieval behavior, cost/privacy implications, and routing — all of which it does. The citation-preservation instruction closes the remaining gap for correct downstream use.

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%, so baseline is 3, but the description adds genuine meaning for the question parameter — the lexical matching rules (whole words, case- and accent-insensitive, some word forms for words of five or more letters, no synonyms or translations) tell an agent how to phrase input. The boardId and snapshotId parameters are left entirely to the schema.

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?

States a specific verb and resource: answer one specific question (number, status, decision) from relevant excerpts of an ingested board, returning validated citations or an insufficient-evidence result. It immediately distinguishes itself from get_board_context for broader reads, so an agent can pick between them without opening schemas.

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

Usage Guidelines5/5

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

Explicit when-to-use (single fact-like question), when-not (summaries, lists, risks, next steps across several sections), and names the alternative (get_board_context). It also gives a usage precondition — phrase the question in the board's own words and language — plus the snapshot option for older data.

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