Skip to main content
Glama
roynertr

COBie MCP

by roynertr

graph_count_spaces_by_floor

Counts spaces on a given floor from a project's canonical graph. Provide project ID and floor name to retrieve the total number of spaces for that floor.

Instructions

Count spaces on a floor from the canonical project graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
floor_nameYes
project_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It indicates a read-only counting operation, but does not explicitly state that no modifications are made or mention any side effects.

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

Conciseness5/5

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

The description is a single, concise sentence with no unnecessary words, clearly stating the action and the object.

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?

For a simple count operation, the description is sufficient: it specifies the resource, the scope (floor), and the source (graph), making the return value obvious. The presence of an output schema further reduces the need to describe return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Neither the schema nor the description provides any explanation for the two parameters (project_id and floor_name), so the agent has no guidance on their expected values or formats.

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 uses a specific verb 'Count' and identifies the resource 'spaces on a floor' and source 'canonical project graph', clearly distinguishing it from sibling tools like graph_list_spaces_by_floor and graph_count_components_by_space.

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

Usage Guidelines3/5

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

The description gives no explicit guidance on when to use this tool versus alternatives, but the purpose implies it should be used when a count of spaces is needed rather than a list or component count.

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