Skip to main content
Glama

Give an agent what it needs

need_set
Destructive

Gives one thing an agent needs, by its key from needs_read, as the owner would on that agent's card on Agents: saved where the agent reads it, so it is used from the agent's next run. value is what the need's kind takes: words for most, a number, or a list of strings for a list or files. remove true takes back what was given, where the need allows it. A refusal says what the value lacks. Give a value in the owner's own words, as they wrote it, and only what the owner said or a source shows (their site, a document they gave), never a guess. Never a password, a token or a key: those, the accounts to connect and anything that spends the owner gives in Marsell, where needs_read says, and need_set refuses them. A list is given whole, as it should stand, so one left out is taken off. Saving is free; where giving one leads an agent to paid work afterwards, that need's own hint or note in needs_read says so.

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": {
      "key": "<key>"
    },
    "name": "need_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesthe need's key, as needs_read gives it, like postal_address
valueNowhat the need's kind takes: words for most (a link, an email, an address on one line), a number, or a list of strings for a list or files
removeNotrue takes back what was given, where the need allows it; value is then left out
projectNoThe project's id or exact name. Optional when the account has one project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=false): it discloses persistence and timing ('used from the agent's next run'), reversibility ('remove true takes back'), list replacement semantics ('a list is given whole... so one left out is taken off'), refusal behavior ('A refusal says what the value lacks'), the secrets refusal, and the fact that saving is free but can trigger paid work later. That last point is context an annotation could never carry.

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

Conciseness3/5

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

Front-loads the core action but then packs several distinct rules into long run-on sentences, with some restatement of schema content (value types) and of the removal behavior. Every clause is arguably useful, but the lack of sentence breaks and the repetition lower scannability.

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?

No output schema exists, and the definition compensates by describing refusal behavior, so an agent knows what a failure looks like. With 100% schema coverage and only four parameters, the remaining gap is small; the unmentioned project parameter is documented in the schema. The complexity of a destructive, persisted write is adequately covered.

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 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it explains what the value should contain in content terms ('the owner's own words, as they wrote it, and only what the owner said or a source shows... never a guess') and clarifies whole-list replacement, which the schema does not state. The project parameter is left entirely to the schema, which is acceptable at full coverage.

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?

States a specific verb and resource ('Gives one thing an agent needs') and ties the target to a named sibling ('by its key from needs_read'). The framing 'as the owner would on that agent's card on Agents' plus the persistence note ('saved where the agent reads it, so it is used from the agent's next run') makes the mechanism concrete. The prose is dense and one must read the whole paragraph to fully grasp it, which keeps it short of a 5.

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 use conditions (key from needs_read, value must match the need's kind), an explicit reversal path ('remove true takes back what was given, where the need allows it'), and an explicit exclusion with a named alternative destination: passwords, tokens, connection accounts and anything that spends go in Marsell, where needs_read says. It also flags the edge case where granting a need leads to paid work afterward. This is exactly the when/when-not/alternative coverage the dimension asks for.

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.