Skip to main content
Glama

AppScreens: App Store and Google Play Screenshots

Get project element

get_project_element
Read-onlyIdempotent

Get one project element by stable ID, including the saved decoration for text. Geometry shows the box after stacking and, for images and shapes, the rectangle drawn after fit and rotation. Pass targetId to measure on a specific output size.

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": {
      "projectId": "<projectId>",
      "elementId": "<elementId>"
    },
    "name": "get_project_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetIdNoOutput size to measure geometry on: a list_render_targets ID or one of the project's custom sizes. Defaults to the project's first enabled size.
elementIdYes
projectIdYes

Output Schema

NameRequiredDescriptionDefault
elementYes
revisionYes
projectIdYes
revisionHashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, non-destructive, closed-world operation, so the safety profile is covered. The description adds genuinely useful behavior beyond that: geometry is reported after stacking and, for images and shapes, after fit and rotation, which tells the agent what coordinate state it is receiving. It stops short of describing error or permission behavior.

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?

Three sentences, front-loaded with the core action, then geometry semantics, then the optional parameter. Every sentence carries information; the wording is dense but readable, with no filler.

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?

An output schema exists, so return structure need not be explained, and the description covers the non-obvious semantics of the returned geometry and the optional measurement target. For a simple three-parameter read tool this is close to sufficient, with only error/absence behavior left unstated.

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 description coverage is only 33%: targetId is documented in the schema, while projectId and elementId carry no description there. The description partially compensates by explaining that the ID is stable and that targetId selects an output size for measurement, but it never clarifies the projectId/elementId pairing or ID provenance, so the gap is only half filled.

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?

The description uses a specific verb and resource ('Get one project element by stable ID') and adds scope detail about what is included (saved text decoration, geometry). It implicitly distinguishes itself from the sibling list_project_elements by fetching a single element, though no sibling is named explicitly.

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 final sentence gives a clear condition for using targetId ('to measure on a specific output size'), which is real usage guidance for one parameter. However, there is no guidance on when to call this versus list_project_elements, get_project_text, or get_project_design, and no note on what happens when the element is missing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.