Skip to main content
Glama

resolve_tag

Read-onlyIdempotent

Resolves one plan room tag to its room-finish schedule row and each finish code definition, citing sheet text and bbox. Reports unresolved tags or building candidates instead of guessing.

Instructions

Resolve ONE room tag across the set: the plan tag -> its room-finish schedule row -> each finish code's definition in the finish/material schedule, every edge cited (sheet, literal text, bbox in page fractions; view it with get_sheet_image). A room on the plan with no schedule row answers status 'unresolved' with the reason; a number reused across buildings answers with the candidates instead of picking one ('A-134' names the building). Free: without the Plan Indexer it runs the open-source sheet graph; with it the project record answers (lookup_mark). Read-only.

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": {
      "tag": "<tag>"
    },
    "name": "resolve_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYesthe room tag as drawn, e.g. '134' or '139A', or building-qualified 'A-134'
project_idNoThe project to work on (list_projects names them). Optional for the open-source arguments: the project the last call named (load_plan makes one) is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv1.0.23
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / project_id
      Added value: +{
      +  "description": "The project to work on (list_projects names them). Optional for the open-source arguments: the project the last call named (load_plan makes one) is used.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / tag / description
      Previous value: -"The room tag as drawn, e.g. \"134\" or \"139A\" — or building-qualified on a multi-building set, e.g. \"A-134\" (building A, room 134)"New value: +"the room tag as drawn, e.g. '134' or '139A', or building-qualified 'A-134'"
    • addedInput schema / properties / tag / maxLength
      Added value: +40
    • addedInput schema / properties / tag / minLength
      Added value: +1
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "building": {
      -      "description": "resolved only — the building whose schedule row answered, when the set names buildings",
      -      "type": "string"
      -    },
      -    "candidates": {
      -      "description": "unresolved only — every schedule row that COULD have answered (an ambiguous multi-building tag lists one per building; qualify the tag, e.g. \"A-134\", to pick)",
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "building": {
      -            "type": "string"
      -          },
      -          "key": {
      -            "type": "string"
      -          },
      -          "sheet": {
      -            "type": "string"
      -          },
      -          "table": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "key",
      -          "sheet",
      -          "table"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "finishes": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "definition": {
      -            "additionalProperties": false,
      -            "description": "The finish/material-schedule row this code chains to, when one exists",
      -            "properties": {
      -              "cells": {
      -                "additionalProperties": {
      -                  "type": "string"
      -                },
      -                "propertyNames": {
      -                  "type": "string"
      -                },
      -                "type": "object"
      -              },
      -              "source": {
      -                "additionalProperties": false,
      -                "description": "An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source.",
      -                "properties": {
      -                  "bbox": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "x0": {
      -                        "type": "number"
      -                      },
      -                      "x1": {
      -                        "type": "number"
      -                      },
      -                      "y0": {
      -                        "type": "number"
      -                      },
      -                      "y1": {
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "x0",
      -                      "y0",
      -                      "x1",
      -                      "y1"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "sheet": {
      -                    "type": "string"
      -                  },
      -                  "text": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "sheet",
      -                  "text",
      -                  "bbox"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "cells",
      -              "source"
      -            ],
      -            "type": "object"
      -          },
      -          "source": {
      -            "additionalProperties": false,
      -            "description": "An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source.",
      -            "properties": {
      -              "bbox": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "x0": {
      -                    "type": "number"
      -                  },
      -                  "x1": {
      -                    "type": "number"
      -                  },
      -                  "y0": {
      -                    "type": "number"
      -                  },
      -                  "y1": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "x0",
      -                  "y0",
      -                  "x1",
      -                  "y1"
      -                ],
      -                "type": "object"
      -              },
      -              "sheet": {
      -                "type": "string"
      -              },
      -              "text": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "sheet",
      -              "text",
      -              "bbox"
      -            ],
      -            "type": "object"
      -          },
      -          "surface": {
      -            "description": "The schedule column: FLOOR / BASE / WALL / …",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "surface",
      -          "code",
      -          "source"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "reason": {
      -      "description": "unresolved only — WHY (no schedule row / ambiguous / no schedule found). A room that appears on the plan with no row comes back here, never as a silent omission",
      -      "type": "string"
      -    },
      -    "revisions": {
      -      "description": "resolved only — delta/REV markers on the answering schedule row or the plan bubble. The finishes above are the POST-revision answer, but the ink changed: check the marker (view_sheet its bbox) and the addendum before pricing",
      -      "items": {
      -        "additionalProperties": false,
      -        "description": "A revision marker (delta triangle / 'REV 2' tag) attached to this item: the ink CHANGED under that revision. The value read is the post-revision answer — view_sheet the marker's bbox and check the addendum before pricing",
      -        "properties": {
      -          "drawn": {
      -            "description": "true = a DRAWN delta: a bare digit inside a triangle of linework (the common CAD convention — the text layer carries only the digit; the geometry proved the triangle). The evidence bbox spans digit and triangle",
      -            "type": "boolean"
      -          },
      -          "rev": {
      -            "type": "string"
      -          },
      -          "source": {
      -            "additionalProperties": false,
      -            "description": "An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source.",
      -            "properties": {
      -              "bbox": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "x0": {
      -                    "type": "number"
      -                  },
      -                  "x1": {
      -                    "type": "number"
      -                  },
      -                  "y0": {
      -                    "type": "number"
      -                  },
      -                  "y1": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "x0",
      -                  "y0",
      -                  "x1",
      -                  "y1"
      -                ],
      -                "type": "object"
      -              },
      -              "sheet": {
      -                "type": "string"
      -              },
      -              "text": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "sheet",
      -              "text",
      -              "bbox"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "rev",
      -          "source"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "room": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": false,
      -          "properties": {
      -            "bbox": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "x0": {
      -                  "type": "number"
      -                },
      -                "x1": {
      -                  "type": "number"
      -                },
      -                "y0": {
      -                  "type": "number"
      -                },
      -                "y1": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "x0",
      -                "y0",
      -                "x1",
      -                "y1"
      -              ],
      -              "type": "object"
      -            },
      -            "building": {
      -              "description": "The building the room belongs to, when the set names one — its plan sheet's BUILDING/BLDG context, or the tag's own qualifier ('A-134')",
      -              "type": "string"
      -            },
      -            "corroboration": {
      -              "description": "Why this number is believed to be a room: \"schedule\" (a room-finish row answers for it), \"name\" (a name is drawn with it and the set has no room-finish schedule), or \"name+schedule\"",
      -              "type": "string"
      -            },
      -            "name": {
      -              "description": "The name span stacked over the tag ('' when none)",
      -              "type": "string"
      -            },
      -            "revision": {
      -              "additionalProperties": false,
      -              "description": "A revision marker (delta triangle / 'REV 2' tag) attached to this item: the ink CHANGED under that revision. The value read is the post-revision answer — view_sheet the marker's bbox and check the addendum before pricing",
      -              "properties": {
      -                "drawn": {
      -                  "description": "true = a DRAWN delta: a bare digit inside a triangle of linework (the common CAD convention — the text layer carries only the digit; the geometry proved the triangle). The evidence bbox spans digit and triangle",
      -                  "type": "boolean"
      -                },
      -                "rev": {
      -                  "type": "string"
      -                },
      -                "source": {
      -                  "additionalProperties": false,
      -                  "description": "An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source.",
      -                  "properties": {
      -                    "bbox": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "x0": {
      -                          "type": "number"
      -                        },
      -                        "x1": {
      -                          "type": "number"
      -                        },
      -                        "y0": {
      -                          "type": "number"
      -                        },
      -                        "y1": {
      -                          "type": "number"
      -                        }
      -                      },
      -                      "required": [
      -                        "x0",
      -                        "y0",
      -                        "x1",
      -                        "y1"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "sheet": {
      -                      "type": "string"
      -                    },
      -                    "text": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "sheet",
      -                    "text",
      -                    "bbox"
      -                  ],
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "rev",
      -                "source"
      -              ],
      -              "type": "object"
      -            },
      -            "sheet": {
      -              "type": "string"
      -            },
      -            "tag": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "tag",
      -            "name",
      -            "sheet",
      -            "bbox"
      -          ],
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "The plan tag, when the room appears on a plan sheet — cited even when resolution fails. null on a multi-building ambiguity: citing one building's tag would be quietly wrong"
      -    },
      -    "sources": {
      -      "description": "The chain: plan tag → schedule row (the row cites the sheet that CARRIES it — under a continuation that is the CONT'D sheet)",
      -      "items": {
      -        "additionalProperties": false,
      -        "description": "An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source.",
      -        "properties": {
      -          "bbox": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "x0": {
      -                "type": "number"
      -              },
      -              "x1": {
      -                "type": "number"
      -              },
      -              "y0": {
      -                "type": "number"
      -              },
      -              "y1": {
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "x0",
      -              "y0",
      -              "x1",
      -              "y1"
      -            ],
      -            "type": "object"
      -          },
      -          "sheet": {
      -            "type": "string"
      -          },
      -          "text": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "sheet",
      -          "text",
      -          "bbox"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "status": {
      -      "enum": [
      -        "resolved",
      -        "unresolved"
      -      ],
      -      "type": "string"
      -    },
      -    "tag": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "status",
      -    "tag",
      -    "room"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed27 schema fields changedv0.1.31
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / finishes / items / properties / definition / properties / cells / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / finishes / items / properties / definition / properties / source / $ref
      Removed value: -"#/properties/room/anyOf/0/properties/revision/properties/source"
    • addedOutput schema / properties / finishes / items / properties / definition / properties / source / additionalProperties
      Added value: +false
    • addedOutput schema / properties / finishes / items / properties / definition / properties / source / description
      Added value: +"An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source."
    • addedOutput schema / properties / finishes / items / properties / definition / properties / source / properties
      Added value: +{
      +  "bbox": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "x0": {
      +        "type": "number"
      +      },
      +      "x1": {
      +        "type": "number"
      +      },
      +      "y0": {
      +        "type": "number"
      +      },
      +      "y1": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "x0",
      +      "y0",
      +      "x1",
      +      "y1"
      +    ],
      +    "type": "object"
      +  },
      +  "sheet": {
      +    "type": "string"
      +  },
      +  "text": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / finishes / items / properties / definition / properties / source / required
      Added value: +[
      +  "sheet",
      +  "text",
      +  "bbox"
      +]
    • addedOutput schema / properties / finishes / items / properties / definition / properties / source / type
      Added value: +"object"
    • removedOutput schema / properties / finishes / items / properties / source / $ref
      Removed value: -"#/properties/room/anyOf/0/properties/revision/properties/source"
    • addedOutput schema / properties / finishes / items / properties / source / additionalProperties
      Added value: +false
    • addedOutput schema / properties / finishes / items / properties / source / description
      Added value: +"An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source."
    • addedOutput schema / properties / finishes / items / properties / source / properties
      Added value: +{
      +  "bbox": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "x0": {
      +        "type": "number"
      +      },
      +      "x1": {
      +        "type": "number"
      +      },
      +      "y0": {
      +        "type": "number"
      +      },
      +      "y1": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "x0",
      +      "y0",
      +      "x1",
      +      "y1"
      +    ],
      +    "type": "object"
      +  },
      +  "sheet": {
      +    "type": "string"
      +  },
      +  "text": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / finishes / items / properties / source / required
      Added value: +[
      +  "sheet",
      +  "text",
      +  "bbox"
      +]
    • addedOutput schema / properties / finishes / items / properties / source / type
      Added value: +"object"
    • removedOutput schema / properties / revisions / items / $ref
      Removed value: -"#/properties/room/anyOf/0/properties/revision"
    • addedOutput schema / properties / revisions / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / revisions / items / description
      Added value: +"A revision marker (delta triangle / 'REV 2' tag) attached to this item: the ink CHANGED under that revision. The value read is the post-revision answer — view_sheet the marker's bbox and check the addendum before pricing"
    • addedOutput schema / properties / revisions / items / properties
      Added value: +{
      +  "drawn": {
      +    "description": "true = a DRAWN delta: a bare digit inside a triangle of linework (the common CAD convention — the text layer carries only the digit; the geometry proved the triangle). The evidence bbox spans digit and triangle",
      +    "type": "boolean"
      +  },
      +  "rev": {
      +    "type": "string"
      +  },
      +  "source": {
      +    "additionalProperties": false,
      +    "description": "An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source.",
      +    "properties": {
      +      "bbox": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "x0": {
      +            "type": "number"
      +          },
      +          "x1": {
      +            "type": "number"
      +          },
      +          "y0": {
      +            "type": "number"
      +          },
      +          "y1": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "x0",
      +          "y0",
      +          "x1",
      +          "y1"
      +        ],
      +        "type": "object"
      +      },
      +      "sheet": {
      +        "type": "string"
      +      },
      +      "text": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "sheet",
      +      "text",
      +      "bbox"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / properties / revisions / items / required
      Added value: +[
      +  "rev",
      +  "source"
      +]
    • addedOutput schema / properties / revisions / items / type
      Added value: +"object"
    • changedOutput schema / properties / room / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "bbox": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "x0": {
      -            "type": "number"
      -          },
      -          "x1": {
      -            "type": "number"
      -          },
      -          "y0": {
      -            "type": "number"
      -          },
      -          "y1": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "x0",
      -          "y0",
      -          "x1",
      -          "y1"
      -        ],
      -        "type": "object"
      -      },
      -      "building": {
      -        "description": "The building the room belongs to, when the set names one — its plan sheet's BUILDING/BLDG context, or the tag's own qualifier ('A-134')",
      -        "type": "string"
      -      },
      -      "corroboration": {
      -        "description": "Why this number is believed to be a room: \"schedule\" (a room-finish row answers for it), \"name\" (a name is drawn with it and the set has no room-finish schedule), or \"name+schedule\"",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "The name span stacked over the tag ('' when none)",
      -        "type": "string"
      -      },
      -      "revision": {
      -        "additionalProperties": false,
      -        "description": "A revision marker (delta triangle / 'REV 2' tag) attached to this item: the ink CHANGED under that revision. The value read is the post-revision answer — view_sheet the marker's bbox and check the addendum before pricing",
      -        "properties": {
      -          "drawn": {
      -            "description": "true = a DRAWN delta: a bare digit inside a triangle of linework (the common CAD convention — the text layer carries only the digit; the geometry proved the triangle). The evidence bbox spans digit and triangle",
      -            "type": "boolean"
      -          },
      -          "rev": {
      -            "type": "string"
      -          },
      -          "source": {
      -            "additionalProperties": false,
      -            "description": "An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source.",
      -            "properties": {
      -              "bbox": {
      -                "$ref": "#/properties/room/anyOf/0/properties/bbox"
      -              },
      -              "sheet": {
      -                "type": "string"
      -              },
      -              "text": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "sheet",
      -              "text",
      -              "bbox"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "rev",
      -          "source"
      -        ],
      -        "type": "object"
      -      },
      -      "sheet": {
      -        "type": "string"
      -      },
      -      "tag": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "tag",
      -      "name",
      -      "sheet",
      -      "bbox"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bbox": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "x0": {
      +            "type": "number"
      +          },
      +          "x1": {
      +            "type": "number"
      +          },
      +          "y0": {
      +            "type": "number"
      +          },
      +          "y1": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "x0",
      +          "y0",
      +          "x1",
      +          "y1"
      +        ],
      +        "type": "object"
      +      },
      +      "building": {
      +        "description": "The building the room belongs to, when the set names one — its plan sheet's BUILDING/BLDG context, or the tag's own qualifier ('A-134')",
      +        "type": "string"
      +      },
      +      "corroboration": {
      +        "description": "Why this number is believed to be a room: \"schedule\" (a room-finish row answers for it), \"name\" (a name is drawn with it and the set has no room-finish schedule), or \"name+schedule\"",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "The name span stacked over the tag ('' when none)",
      +        "type": "string"
      +      },
      +      "revision": {
      +        "additionalProperties": false,
      +        "description": "A revision marker (delta triangle / 'REV 2' tag) attached to this item: the ink CHANGED under that revision. The value read is the post-revision answer — view_sheet the marker's bbox and check the addendum before pricing",
      +        "properties": {
      +          "drawn": {
      +            "description": "true = a DRAWN delta: a bare digit inside a triangle of linework (the common CAD convention — the text layer carries only the digit; the geometry proved the triangle). The evidence bbox spans digit and triangle",
      +            "type": "boolean"
      +          },
      +          "rev": {
      +            "type": "string"
      +          },
      +          "source": {
      +            "additionalProperties": false,
      +            "description": "An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source.",
      +            "properties": {
      +              "bbox": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "x0": {
      +                    "type": "number"
      +                  },
      +                  "x1": {
      +                    "type": "number"
      +                  },
      +                  "y0": {
      +                    "type": "number"
      +                  },
      +                  "y1": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "x0",
      +                  "y0",
      +                  "x1",
      +                  "y1"
      +                ],
      +                "type": "object"
      +              },
      +              "sheet": {
      +                "type": "string"
      +              },
      +              "text": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "sheet",
      +              "text",
      +              "bbox"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "rev",
      +          "source"
      +        ],
      +        "type": "object"
      +      },
      +      "sheet": {
      +        "type": "string"
      +      },
      +      "tag": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tag",
      +      "name",
      +      "sheet",
      +      "bbox"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / sources / items / $ref
      Removed value: -"#/properties/room/anyOf/0/properties/revision/properties/source"
    • addedOutput schema / properties / sources / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / sources / items / description
      Added value: +"An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source."
    • addedOutput schema / properties / sources / items / properties
      Added value: +{
      +  "bbox": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "x0": {
      +        "type": "number"
      +      },
      +      "x1": {
      +        "type": "number"
      +      },
      +      "y0": {
      +        "type": "number"
      +      },
      +      "y1": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "x0",
      +      "y0",
      +      "x1",
      +      "y1"
      +    ],
      +    "type": "object"
      +  },
      +  "sheet": {
      +    "type": "string"
      +  },
      +  "text": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / sources / items / required
      Added value: +[
      +  "sheet",
      +  "text",
      +  "bbox"
      +]
    • addedOutput schema / properties / sources / items / type
      Added value: +"object"
  3. Changed10 schema fields changedv0.1.18
    • changedOutput schema / properties / finishes / items / properties / definition / properties / source / $ref
      Previous value: -"#/properties/finishes/items/properties/source"New value: +"#/properties/room/anyOf/0/properties/revision/properties/source"
    • addedOutput schema / properties / finishes / items / properties / source / $ref
      Added value: +"#/properties/room/anyOf/0/properties/revision/properties/source"
    • removedOutput schema / properties / finishes / items / properties / source / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / finishes / items / properties / source / description
      Removed value: -"An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source."
    • removedOutput schema / properties / finishes / items / properties / source / properties
      Removed value: -{
      -  "bbox": {
      -    "$ref": "#/properties/room/anyOf/0/properties/bbox"
      -  },
      -  "sheet": {
      -    "type": "string"
      -  },
      -  "text": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / finishes / items / properties / source / required
      Removed value: -[
      -  "sheet",
      -  "text",
      -  "bbox"
      -]
    • removedOutput schema / properties / finishes / items / properties / source / type
      Removed value: -"object"
    • addedOutput schema / properties / revisions
      Added value: +{
      +  "description": "resolved only — delta/REV markers on the answering schedule row or the plan bubble. The finishes above are the POST-revision answer, but the ink changed: check the marker (view_sheet its bbox) and the addendum before pricing",
      +  "items": {
      +    "$ref": "#/properties/room/anyOf/0/properties/revision"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / room / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "bbox": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "x0": {
      -            "type": "number"
      -          },
      -          "x1": {
      -            "type": "number"
      -          },
      -          "y0": {
      -            "type": "number"
      -          },
      -          "y1": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "x0",
      -          "y0",
      -          "x1",
      -          "y1"
      -        ],
      -        "type": "object"
      -      },
      -      "building": {
      -        "description": "The building the room belongs to, when the set names one — its plan sheet's BUILDING/BLDG context, or the tag's own qualifier ('A-134')",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "The name span stacked over the tag ('' when none)",
      -        "type": "string"
      -      },
      -      "sheet": {
      -        "type": "string"
      -      },
      -      "tag": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "tag",
      -      "name",
      -      "sheet",
      -      "bbox"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bbox": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "x0": {
      +            "type": "number"
      +          },
      +          "x1": {
      +            "type": "number"
      +          },
      +          "y0": {
      +            "type": "number"
      +          },
      +          "y1": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "x0",
      +          "y0",
      +          "x1",
      +          "y1"
      +        ],
      +        "type": "object"
      +      },
      +      "building": {
      +        "description": "The building the room belongs to, when the set names one — its plan sheet's BUILDING/BLDG context, or the tag's own qualifier ('A-134')",
      +        "type": "string"
      +      },
      +      "corroboration": {
      +        "description": "Why this number is believed to be a room: \"schedule\" (a room-finish row answers for it), \"name\" (a name is drawn with it and the set has no room-finish schedule), or \"name+schedule\"",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "The name span stacked over the tag ('' when none)",
      +        "type": "string"
      +      },
      +      "revision": {
      +        "additionalProperties": false,
      +        "description": "A revision marker (delta triangle / 'REV 2' tag) attached to this item: the ink CHANGED under that revision. The value read is the post-revision answer — view_sheet the marker's bbox and check the addendum before pricing",
      +        "properties": {
      +          "drawn": {
      +            "description": "true = a DRAWN delta: a bare digit inside a triangle of linework (the common CAD convention — the text layer carries only the digit; the geometry proved the triangle). The evidence bbox spans digit and triangle",
      +            "type": "boolean"
      +          },
      +          "rev": {
      +            "type": "string"
      +          },
      +          "source": {
      +            "additionalProperties": false,
      +            "description": "An evidence pointer — the sheet, the literal text, and where it sits (image px). Every edge in the graph carries one; pass the bbox to view_sheet to LOOK at the source.",
      +            "properties": {
      +              "bbox": {
      +                "$ref": "#/properties/room/anyOf/0/properties/bbox"
      +              },
      +              "sheet": {
      +                "type": "string"
      +              },
      +              "text": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "sheet",
      +              "text",
      +              "bbox"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "rev",
      +          "source"
      +        ],
      +        "type": "object"
      +      },
      +      "sheet": {
      +        "type": "string"
      +      },
      +      "tag": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tag",
      +      "name",
      +      "sheet",
      +      "bbox"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / sources / items / $ref
      Previous value: -"#/properties/finishes/items/properties/source"New value: +"#/properties/room/anyOf/0/properties/revision/properties/source"
  4. Changed6 schema fields changedv0.1.12
    • changedInput schema / properties / tag / description
      Previous value: -"The room tag as drawn, e.g. \"134\" or \"139A\""New value: +"The room tag as drawn, e.g. \"134\" or \"139A\" — or building-qualified on a multi-building set, e.g. \"A-134\" (building A, room 134)"
    • addedOutput schema / properties / building
      Added value: +{
      +  "description": "resolved only — the building whose schedule row answered, when the set names buildings",
      +  "type": "string"
      +}
    • addedOutput schema / properties / candidates
      Added value: +{
      +  "description": "unresolved only — every schedule row that COULD have answered (an ambiguous multi-building tag lists one per building; qualify the tag, e.g. \"A-134\", to pick)",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "building": {
      +        "type": "string"
      +      },
      +      "key": {
      +        "type": "string"
      +      },
      +      "sheet": {
      +        "type": "string"
      +      },
      +      "table": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "sheet",
      +      "table"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / room / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "bbox": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "x0": {
      -            "type": "number"
      -          },
      -          "x1": {
      -            "type": "number"
      -          },
      -          "y0": {
      -            "type": "number"
      -          },
      -          "y1": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "x0",
      -          "y0",
      -          "x1",
      -          "y1"
      -        ],
      -        "type": "object"
      -      },
      -      "name": {
      -        "description": "The name span stacked over the tag ('' when none)",
      -        "type": "string"
      -      },
      -      "sheet": {
      -        "type": "string"
      -      },
      -      "tag": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "tag",
      -      "name",
      -      "sheet",
      -      "bbox"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bbox": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "x0": {
      +            "type": "number"
      +          },
      +          "x1": {
      +            "type": "number"
      +          },
      +          "y0": {
      +            "type": "number"
      +          },
      +          "y1": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "x0",
      +          "y0",
      +          "x1",
      +          "y1"
      +        ],
      +        "type": "object"
      +      },
      +      "building": {
      +        "description": "The building the room belongs to, when the set names one — its plan sheet's BUILDING/BLDG context, or the tag's own qualifier ('A-134')",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "The name span stacked over the tag ('' when none)",
      +        "type": "string"
      +      },
      +      "sheet": {
      +        "type": "string"
      +      },
      +      "tag": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tag",
      +      "name",
      +      "sheet",
      +      "bbox"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / room / description
      Previous value: -"The plan tag, when the room appears on a plan sheet — cited even when resolution fails"New value: +"The plan tag, when the room appears on a plan sheet — cited even when resolution fails. null on a multi-building ambiguity: citing one building's tag would be quietly wrong"
    • changedOutput schema / properties / sources / description
      Previous value: -"The chain: plan tag → schedule row"New value: +"The chain: plan tag → schedule row (the row cites the sheet that CARRIES it — under a continuation that is the CONT'D sheet)"
  5. Addedv0.1.9

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses the two execution modes (open-source sheet graph vs. Plan Indexer-backed project record), what the response looks like on failure ('unresolved' plus reason), how ambiguity is handled (candidates rather than a guess), and the citation format including bbox in page fractions. That is substantial behavioral context the annotations do not carry.

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?

The definition is front-loaded with the core chain, then edge cases, then the execution-mode and safety notes, so nothing important is buried. The semicolon-heavy sentences are dense but each clause carries distinct information; only minor tightening is possible.

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?

With no output schema, the description does the work of describing the returned evidence (sheet, literal text, bbox) and the two non-success shapes (unresolved, ambiguous candidates). It is close to complete for a read-only two-parameter tool, with only the exact field names of a successful resolution left unspecified.

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 the baseline is 3, but the description adds meaning by explaining that a building-qualified form like 'A-134' names the building and that the bare tag is as drawn. It also reinforces the project_id defaulting to the last named project, which helps an agent reason about omitting it.

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 and resource ('Resolve ONE room tag') and then spells out the exact chain it traverses: plan tag -> room-finish schedule row -> finish code definition. It also differentiates itself from the related lookup_mark path and points to get_sheet_image for viewing evidence, so an agent can distinguish it from siblings without opening a schema.

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 gives clear conditions for edge cases (no schedule row -> 'unresolved'; tag reused across buildings -> candidates returned) and names the alternative data path (lookup_mark / Plan Indexer) with the condition that selects it. It stops short of an explicit 'use this instead of X when Y' statement against the broader sibling set, but the context is unambiguous.

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

Deploy Server

Other Tools