Skip to main content
Glama

Get Product Goal

get_product_goal

Read a project's current product goal (the outcome work is aimed at).

The paired setter `set_product_goal` replaces the whole document rather
than appending to it, so a write without a prior read silently discards
whatever the user already recorded; adding a line means reading the current
text, editing it, and setting the full result back.

Returns {project_id, product_goal_md, updated_at}. `product_goal_md` is
None when no goal has been set. Tenant-scoped: a project not in the
caller's workspace 404s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations are thin here (readOnlyHint=false, idempotentHint=false add little for what is plainly a read), so the description carries real weight and delivers: the destructive whole-document replacement semantics of the paired writer, the risk of silent data loss, the None value when no goal exists, and tenant scoping that 404s for out-of-workspace projects. That is auth/tenancy and data-loss context beyond the structured fields.

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?

Purpose is front-loaded, followed by the write hazard, the return shape, and the scoping constraint in a logical order with no filler sentences. The read-modify-write clause slightly restates the preceding sentence about whole-document replacement, which keeps it just short of ideal.

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 one-parameter read tool, the description covers purpose, the critical interaction with its setter, the return fields, the empty-state value, and cross-tenant behavior. Although an output schema exists, the description still names the fields without bloating, and nothing needed to invoke it correctly is missing.

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 coverage is 0% for the single project_id parameter, so the description must compensate. It adds the meaningful tenancy constraint (a project outside the caller's workspace 404s), but never states project_id's format or how to obtain it, leaving half the semantic burden unmet.

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 ('Read a project's current product goal') and immediately characterizes what a product goal is ('the outcome work is aimed at'), which implicitly separates it from get_product_vision. It also names the paired writer, set_product_goal, so an agent can tell the read from the write without opening either 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?

Gives a concrete when-to-use rule: a write without a prior read silently discards existing content, so you must read before you set, and adding a line requires read-modify-write. That is strong context, but there is no explicit guidance about when NOT to use this versus the sibling get_product_vision, only versus the setter.

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.