liveBook · Manning

Tool description

A tool description is a structured specification of a callable tool's purpose, capabilities, and invocation interface, including its expected inputs.

How 2 Manning books explain it

Build an AI Agent (From Scratch)

A tool definition is a structured declaration of a callable tool's name, description, parameters, types, and required arguments for access by a language model.

How it is used
Guides an LLM’s choice of callable tools and the arguments it supplies for a user request.
How deep it goes
Works through schema fields, Python-based generation, external execution, and MCP conversion rather than stopping at a definition.
Examples
Uses a calculator schema and multiplication trace, a generated web-search definition, and MCP tool discovery.
What you can do after
Build it from scratch by declaring a function schema or generating one from Python metadata, then passing it into a tool-calling workflow.

Read how Build an AI Agent (From Scratch) explains tool description →

AI Agents in Action, Second Edition

Tool metadata is descriptive information about a callable tool, including its name, purpose, and parameter schema.

How it is used
Guides agents in selecting callable tools and supplying valid parameters without duplicating tool details in general instructions.
How deep it goes
Explains metadata fields, disambiguation, and parameter guidance through code examples, but does not descend into model internals.
Examples
Uses search tools, a keyword-based retrieval tool, SequentialThinking, and a multi-agent research, planning, and filesystem flow.
What you can do after
Apply it via an SDK by writing distinct descriptions, documenting parameters, and moving general tool instructions out of the prompt.

Read how AI Agents in Action, Second Edition explains tool description →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.