Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TQS_ROOTNoRoot of the building treenone
TQS_PYTHONNoInterpreter with the TQS package installedthe server's own interpreter
TQS_MCP_TIMEOUTNoDefault subprocess timeout in seconds120

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
tqs_statusA

Check whether the TQS Python Interface is reachable. Reports the interpreter in use, which TQS modules import, and the TQS programs/support/user folders. Run this first when TQS tools misbehave.

tqs_list_buildingsA

List TQS buildings under a root folder. A building is a subfolder containing EDIFICIO.DAT. Defaults to the TQS_ROOT environment variable.

tqs_building_readA

Read a TQS building into JSON: project metadata, analysis model, floors, concrete strengths, covers and load cases. Pass a building folder or a path to EDIFICIO.DAT.

tqs_building_editA

Change building properties and save. Defaults to dry_run=true, which reports the old and new value of every change without writing. Set dry_run=false to commit; TQS keeps the prior version as EDIFICIO.BAK.

tqs_dwg_readA

Read a TQS drawing (.DWG): scale and system metadata, extents, levels, blocks, entity counts, and entities themselves. Filter by entity type, level, or text content — extracting TEXT entities is the usual way to pull rebar callouts and labels out of a drawing. Units are centimeters.

tqs_processA

Run TQS Manager processing tasks against a building (TQSExec) — global processing, drawing generation, rebar schedules. This overwrites calculation results and drawings in the building tree, and can run for many minutes. See the tqsexec reference for the task list.

tqs_introspectA

Inspect the installed TQS API: list a module's or object's real methods and properties with signatures. Use this whenever you are unsure a name exists — the published docs cover only part of the surface.

tqs_run_scriptA

Run Python with the TQS modules importable, in a separate process. The escape hatch for anything the other tools do not cover. Assign to a variable named result to return structured data; stdout is captured and returned too. This can create, modify and delete project files.

tqs_referenceA

Bundled offline reference for the TQS Python Interface. Call with no arguments to list topics. Read the relevant topic before writing TQS code with tqs_run_script.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
TQS reference: other-modulesTQS Python Interface reference — other-modules
TQS reference: overviewTQS Python Interface reference — overview
TQS reference: tqsbuildTQS Python Interface reference — tqsbuild
TQS reference: tqsdwgTQS Python Interface reference — tqsdwg
TQS reference: tqsexecTQS Python Interface reference — tqsexec
TQS reference: tqsgridTQS Python Interface reference — tqsgrid
TQS reference: tqsutilTQS Python Interface reference — tqsutil

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/carlostavares-manager-MNGT/tqs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server