Skip to main content
Glama
Mipiti
by Mipiti

Get Functional Objectives

get_functional_objectives

Lists a threat model's functional objectives or fetches one by ID, returning its Given-When-Then test plan and current test state.

Instructions

List a model's functional objectives, or fetch one by id. Read-only; no side effects.

A functional objective is a Capability × Condition test plan expressed as a Given-When-Then statement. functional_objective_id selects the behaviour:

  • omitted / empty string -> list every functional objective for the model (the full functional test plan).

  • a functional-objective id -> return just that one objective's detail, including its capability, condition, Given-When-Then statement, and current test state.

For pass/fail coverage state across all objectives use get_functional_coverage; for the actionable gaps pass it gaps_only=True.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYesID of the threat model whose functional objective(s) to read.
server_versionYes
functional_objective_idNoOptional. Omit (or pass "") to list every objective; pass an id (from a prior list call) to fetch that one.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.68.2

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden and does state 'Read-only; no side effects,' which is the key safety signal. It also discloses what the single-object fetch returns (capability, condition, Given-When-Then, test state), though it says nothing about auth requirements or pagination on the list path.

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?

Front-loaded with the core action and the read-only note, then a bulleted enumeration of the id-selection behavior. The definition sentence for 'functional objective' earns its place, but the prose is slightly longer than strictly needed.

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?

For a read tool with an output schema, the description needn't explain return values, and it covers the list-vs-fetch duality plus the sibling alternative. The only omissions are auth/pagination behavior and any treatment of server_version.

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?

Schema coverage is 67%, and the description adds real meaning beyond the schema by spelling out the empty-string/omitted sentinel behavior and where the id comes from ('from a prior list call'). model_id is only implicitly covered, and server_version is never discussed.

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 ('List a model's functional objectives, or fetch one by id') and explicitly defines what a functional objective is, which lets an agent distinguish it from generic objective tools. It also names the sibling get_functional_coverage and the exact condition that routes there.

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

Usage Guidelines5/5

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

Gives explicit when-to-use branching: omitted/empty id -> list the full test plan, an id -> fetch one objective's detail. It also names the alternative tool (get_functional_coverage) and the parameter (gaps_only=True) that selects it.

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