Skip to main content
Glama

get_product_goal

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

READ THIS BEFORE YOU CALL `set_product_goal`: the setter REPLACES the whole
document rather than appending to it, so writing without reading first
silently discards whatever the user already recorded. To add a line, read
the current text, edit it, and set 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

A3.9/5.0
Behavior1/5

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

The description adds excellent behavioral detail: it documents the return shape, the None-when-unset case, the 404 on tenant-scoped access, and the setter's replace-not-append behavior. However, the annotations declare readOnlyHint=false while the description explicitly says 'Read,' which is a direct contradiction with the structured metadata. Per the rubric, any such contradiction drops this dimension to 1.

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 purpose-built with no filler: the core read action comes first, the critical setter warning is clearly highlighted, and the return/error behavior is summarized in compact sentences. Every paragraph earns its place.

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 the default response, the missing-goal case, tenant scoping, error behavior, and the key interaction with `set_product_goal`. An output schema also exists, so the description does not need to further explain return values.

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?

The schema provides no description for `project_id`, so the description partially compensates by noting that a project outside the caller's workspace 404s, clarifying the meaning and failure behavior of the parameter. It does not spell out type or format, but the parameter name and the returned `project_id` make the semantics unambiguous.

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 opens with a specific verb and resource: 'Read a project's current product goal,' and even defines what a product goal is ('the outcome work is aimed at'). It is clearly distinguishable from the sibling `set_product_goal` (read vs. write) and from `get_product_vision` (goal vs. vision).

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?

The description explicitly instructs the agent to read before calling `set_product_goal`, establishing a clear and important when-to-use relationship. It does not enumerate other alternatives or exclusion conditions, but the read-vs-set contrast plus the tenant-scoping note gives sufficient usage context.

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.